// Numbas version: exam_results_page_options {"name": "4. More combining functions ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"showfrontpage": false, "allowregen": true, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "4. More combining functions ", "type": "question", "contributors": [{"profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/115/", "name": "emma rand"}], "rulesets": {}, "metadata": {"notes": "

f(x) = x^2, g(x) = a/(b+x) example where a and b are random from a set

", "description": "

Simple examples combining functions

", "licence": "None specified"}, "question_groups": [{"pickingStrategy": "all-ordered", "pickQuestions": 0, "name": "", "questions": []}], "parts": [{"vsetrange": [0, 1], "checkingtype": "absdiff", "answer": "{a}/({b}+x^2)", "checkingaccuracy": 0.001, "showCorrectAnswer": true, "showpreview": true, "type": "jme", "prompt": "

$g(f(x))$

", "marks": "2", "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "expectedvariablenames": [], "variableReplacements": [], "scripts": {}}, {"vsetrange": [0, 1], "checkingtype": "absdiff", "answer": "{a}^2/({b}^2+2*{b}*x+x^2)", "checkingaccuracy": 0.001, "showCorrectAnswer": true, "showpreview": true, "type": "jme", "prompt": "

$f(g(x))$

", "marks": "2", "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "expectedvariablenames": [], "variableReplacements": [], "scripts": {}}, {"vsetrange": [0, 1], "checkingtype": "absdiff", "answer": "x^4", "checkingaccuracy": 0.001, "showCorrectAnswer": true, "showpreview": true, "type": "jme", "prompt": "

$f(f(x))$

", "marks": "2", "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "expectedvariablenames": [], "variableReplacements": [], "scripts": {}}, {"marks": "2", "type": "numberentry", "minValue": "{a}^2/({b}^2+6*{b}+9)", "showPrecisionHint": false, "showCorrectAnswer": true, "allowFractions": true, "scripts": {}, "prompt": "

$f(g(3))$

", "correctAnswerFraction": true, "maxValue": "{a}^2/({b}^2+6*{b}+9)", "variableReplacementStrategy": "originalfirst", "variableReplacements": []}, {"marks": "2", "type": "numberentry", "minValue": "{a}/({b}+1)", "showPrecisionHint": false, "showCorrectAnswer": true, "allowFractions": true, "scripts": {}, "prompt": "

$g(f(-1)$

", "correctAnswerFraction": true, "maxValue": "{a}/({b}+1)", "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "tags": [], "ungrouped_variables": ["a", "b"], "advice": "", "variable_groups": [], "statement": "

If $f(x) = x^2$ and $g(x) = \\frac{ \\var{a}}{\\simplify{{b}+x}}$, what is:

", "variables": {"b": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "definition": "random(-3..5)"}, "a": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "definition": "random(-3..5)"}}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "showQuestionGroupNames": false}]}], "contributors": [{"profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/115/", "name": "emma rand"}]}