// Numbas version: finer_feedback_settings {"name": "Kamila'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": [{"ungrouped_variables": ["a1", "a2", "b1", "b2", "c1"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "
Power rule
"}, "statement": "Differentiate the function:
\n\\(f(x)=\\var{a1}x^{\\var{a2}}+\\var{b1}x^{\\var{b2}}+\\var{c1}\\)
", "extensions": [], "rulesets": {}, "parts": [{"showCorrectAnswer": true, "type": "gapfill", "variableReplacements": [], "prompt": "\\(\\frac{df}{dx}=\\) [[0]]
", "gaps": [{"showpreview": true, "variableReplacements": [], "vsetrangepoints": 5, "checkvariablenames": false, "marks": 1, "answer": "{a1}*{a2}*x^{{a2}-1}+{b1}*{b2}*x^{{b2}-1}", "showCorrectAnswer": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "vsetrange": [0, 1], "expectedvariablenames": [], "checkingtype": "absdiff", "scripts": {}, "checkingaccuracy": 0.001}], "marks": 0, "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "functions": {}, "preamble": {"css": "", "js": ""}, "advice": "Apply the rule:
\n\\(y=ax^n\\,\\,\\,then\\,\\,\\,\\frac{dy}{dx}=nax^{n-1}\\)
\nIn 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}}\\)
", "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"b2": {"templateType": "randrange", "group": "Ungrouped variables", "definition": "random(1..5#1)", "name": "b2", "description": ""}, "c1": {"templateType": "randrange", "group": "Ungrouped variables", "definition": "random(3..18#1)", "name": "c1", "description": ""}, "b1": {"templateType": "randrange", "group": "Ungrouped variables", "definition": "random(2..14#1)", "name": "b1", "description": ""}, "a2": {"templateType": "randrange", "group": "Ungrouped variables", "definition": "random(5..12#1)", "name": "a2", "description": ""}, "a1": {"templateType": "randrange", "group": "Ungrouped variables", "definition": "random(2..10#1)", "name": "a1", "description": ""}}, "tags": [], "variable_groups": [], "name": "Kamila's copy of Power rule 1", "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Kamila Yusufu", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2554/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Kamila Yusufu", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2554/"}]}