// Numbas version: exam_results_page_options {"name": "Kma's copy of Power rule 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a1", "a2", "b1", "b2", "c1"], "name": "Kma's copy of Power rule 1", "tags": [], "advice": "

Apply the rule:

\n

\\(y=ax^n\\,\\,\\,then\\,\\,\\,\\frac{dy}{dx}=nax^{n-1}\\)

\n

In this example

\n

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

\n

\\(\\frac{df}{dx}=\\var{a2}*\\var{a1}x^{\\var{a2}-1}+\\var{b2}*\\var{b1}x^{\\var{b2}-1}\\)

\n

\\(\\frac{dy}{dx}=\\simplify{{a2}*{a1}x^{{a2}-1}+{b2}*{b1}x^{{b2}-1}}\\)

", "rulesets": {}, "parts": [{"prompt": "

\\(\\frac{df}{dx}=\\) [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1}*{a2}*x^{{a2}-1}+{b1}*{b2}*x^{{b2}-1}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Differentiate the function:

\n

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

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a1": {"definition": "random(2..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a1", "description": ""}, "c1": {"definition": "random(3..18#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "c1", "description": ""}, "a2": {"definition": "random(5..12#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a2", "description": ""}, "b1": {"definition": "random(2..14#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "b2", "description": ""}}, "metadata": {"description": "

Power rule

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "contributors": [{"name": "Kma math", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1271/"}]}]}], "contributors": [{"name": "Kma math", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1271/"}]}