// Numbas version: exam_results_page_options {"name": "Functions: composite functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"type": "question", "name": "Functions: composite functions", "parts": [{"type": "gapfill", "scripts": {}, "gaps": [{"type": "jme", "answersimplification": "all", "marks": 1, "vsetrange": [0, 1], "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "answer": "1/(x^2+{a})", "checkingtype": "absdiff", "variableReplacements": [], "showpreview": true, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "checkingaccuracy": 0.001}, {"type": "jme", "answersimplification": "all", "marks": 1, "vsetrange": [0, 1], "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "answer": "1/(x^2)+{a}", "checkingtype": "absdiff", "variableReplacements": [], "showpreview": true, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "checkingaccuracy": 0.001}], "variableReplacements": [], "prompt": "

$h(f(x))=\\;$ [[0]] 

\n

$f(h(x))=\\;$ [[1]]

", "variableReplacementStrategy": "originalfirst", "marks": 0, "showCorrectAnswer": true}], "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "

Composite functions.

"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "advice": "", "variables": {"a": {"group": "Ungrouped variables", "name": "a", "templateType": "anything", "definition": "random(-5..5)", "description": ""}}, "statement": "

If $f(x)=\\simplify{x^2+{a}}$ and $h(x)=\\frac{1}{x}$ then find $h(f(x))$ and $f(h(x)).$

", "ungrouped_variables": ["a"], "question_groups": [{"name": "", "pickQuestions": 0, "questions": [], "pickingStrategy": "all-ordered"}], "preamble": {"js": "", "css": ""}, "rulesets": {}, "variable_groups": [], "showQuestionGroupNames": false, "tags": [], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}]}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}