// Numbas version: exam_results_page_options {"name": "Differentiation: advanced (chain rule)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "t1", "t2", "m", "n"], "name": "Differentiation: advanced (chain rule)", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

$\\simplify[all]{f(x)=cos({a}x+{b})}$

\n

$\\displaystyle \\frac{df}{dx}=\\;$[[0]]

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

Find the derivative of the following function:

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "t1*random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "t2": {"definition": "random(-1,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "t2", "description": ""}, "m": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "n": {"definition": "t2*random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "t1": {"definition": "random(-1,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "t1", "description": ""}}, "metadata": {"notes": "

Product rule

", "description": "

Differentiation

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Sanka Balasuriya", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/738/"}]}]}], "contributors": [{"name": "Sanka Balasuriya", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/738/"}]}