// Numbas version: finer_feedback_settings {"name": "4. More combining functions ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "metadata": {"licence": "None specified", "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

"}, "statement": "

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

", "tags": [], "type": "question", "variables": {"a": {"name": "a", "group": "Ungrouped variables", "description": "", "definition": "random(-3..5)", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "description": "", "definition": "random(-3..5)", "templateType": "anything"}}, "question_groups": [{"name": "", "questions": [], "pickQuestions": 0, "pickingStrategy": "all-ordered"}], "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["a", "b"], "parts": [{"checkvariablenames": false, "variableReplacements": [], "answer": "{a}/({b}+x^2)", "showCorrectAnswer": true, "prompt": "

$g(f(x))$

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

$f(g(x))$

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

$f(f(x))$

", "vsetrange": [0, 1], "checkingtype": "absdiff", "vsetrangepoints": 5, "checkingaccuracy": 0.001, "marks": "2", "expectedvariablenames": [], "showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "scripts": {}}, {"variableReplacements": [], "maxValue": "{a}^2/({b}^2+6*{b}+9)", "allowFractions": true, "correctAnswerFraction": true, "showCorrectAnswer": true, "minValue": "{a}^2/({b}^2+6*{b}+9)", "prompt": "

$f(g(3))$

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

$g(f(-1)$

", "marks": "2", "showPrecisionHint": false, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "scripts": {}}], "name": "4. More combining functions ", "variable_groups": [], "showQuestionGroupNames": false, "rulesets": {}, "advice": "", "contributors": [{"name": "emma rand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/115/"}]}]}], "contributors": [{"name": "emma rand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/115/"}]}