// Numbas version: finer_feedback_settings {"name": "Maria's copy of Evaluate f(x)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "name": "Maria's copy of Evaluate f(x)", "ungrouped_variables": ["a1", "a2", "b1", "c1", "a3"], "preamble": {"css": "", "js": ""}, "functions": {}, "statement": "

Given the function:

\n

\\(f(x)=\\var{a1}x^{\\var{a2}}+\\var{b1}x-\\var{c1}\\)

", "extensions": [], "metadata": {"description": "

Evaluating a function

", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"marks": 0, "prompt": "

Evaluate \\(f(\\var{a3})\\)

\n

\\(f(\\var{a3})\\) = [[0]]

", "variableReplacements": [], "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "gaps": [{"correctAnswerStyle": "plain", "marks": 1, "mustBeReducedPC": 0, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false, "showFeedbackIcon": true, "correctAnswerFraction": false, "mustBeReduced": false, "maxValue": "{a1}*({a3}^{a2})+{b1}*{a3}-{c1}", "scripts": {}, "strictPrecision": false, "precision": "2", "type": "numberentry", "showPrecisionHint": true, "precisionMessage": "You have not given your answer to the correct precision.", "precisionPartialCredit": 0, "precisionType": "dp", "minValue": "{a1}*({a3}^{a2})+{b1}*{a3}-{c1}"}]}], "variables": {"a1": {"definition": "random(2..12#1)", "description": "", "name": "a1", "group": "Ungrouped variables", "templateType": "randrange"}, "c1": {"definition": "random(1..15#1)", "description": "", "name": "c1", "group": "Ungrouped variables", "templateType": "randrange"}, "a3": {"definition": "random(1..6#1)", "description": "", "name": "a3", "group": "Ungrouped variables", "templateType": "randrange"}, "a2": {"definition": "random(2..5#1)", "description": "", "name": "a2", "group": "Ungrouped variables", "templateType": "randrange"}, "b1": {"definition": "random(3..12#1)", "description": "", "name": "b1", "group": "Ungrouped variables", "templateType": "randrange"}}, "advice": "

\\(f(x)=\\var{a1}x^{\\var{a2}}+\\var{b1}x-\\var{c1}\\)

\n

\\(x=\\var{a3}\\)

\n

\\(f(\\var{a3})=\\var{a1}*(\\var{a3})^{\\var{a2}}+\\var{b1}*(\\var{a3})-\\var{c1}\\)

\n

\\(f(\\var{a3})=\\simplify{{a1}*{a3}^{{a2}}}+\\simplify{{b1}*{a3}}-\\var{c1}\\)

\n

\\(f(\\var{a3})=\\simplify{{a1}*{a3}^{{a2}}+{b1}*{a3}-{c1}}\\)

", "rulesets": {}, "tags": [], "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}