// Numbas version: exam_results_page_options {"name": "Evaluate f(x)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"maxValue": "{a1}*({a3}^{a2})+{b1}*{a3}-{c1}", "variableReplacements": [], "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "strictPrecision": false, "precisionType": "dp", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "type": "numberentry", "showFeedbackIcon": true, "precisionMessage": "You have not given your answer to the correct precision.", "precision": "2", "minValue": "{a1}*({a3}^{a2})+{b1}*{a3}-{c1}", "showPrecisionHint": true, "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "mustBeReduced": false, "marks": 1}], "showFeedbackIcon": true, "prompt": "

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

\n

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

", "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "marks": 0}], "rulesets": {}, "functions": {}, "name": "Evaluate f(x)", "ungrouped_variables": ["a1", "a2", "b1", "c1", "a3"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Evaluating a function

"}, "preamble": {"css": "", "js": ""}, "variable_groups": [], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a1": {"definition": "random(2..12#1)", "description": "", "group": "Ungrouped variables", "name": "a1", "templateType": "randrange"}, "a3": {"definition": "random(1..6#1)", "description": "", "group": "Ungrouped variables", "name": "a3", "templateType": "randrange"}, "c1": {"definition": "random(1..15#1)", "description": "", "group": "Ungrouped variables", "name": "c1", "templateType": "randrange"}, "a2": {"definition": "random(2..5#1)", "description": "", "group": "Ungrouped variables", "name": "a2", "templateType": "randrange"}, "b1": {"definition": "random(3..12#1)", "description": "", "group": "Ungrouped variables", "name": "b1", "templateType": "randrange"}}, "extensions": [], "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}}\\)

", "statement": "

Given the function:

\n

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

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