// Numbas version: exam_results_page_options {"name": "Katy's copy Power rule 1b", "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", "c", "d", "f"], "name": "Katy's copy Power rule 1b", "parts": [{"extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "marks": 0, "showCorrectAnswer": true, "sortAnswers": false, "showFeedbackIcon": true, "type": "gapfill", "unitTests": [], "variableReplacements": [], "scripts": {}, "gaps": [{"extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "jme", "answer": "{a}*{b}*x^{{b}-1}+{c}*{d}*x^{{d}-1}", "vsetRange": [0, 1], "checkVariableNames": false, "showPreview": true, "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "scripts": {}, "expectedVariableNames": [], "vsetRangePoints": 5, "checkingType": "absdiff", "customMarkingAlgorithm": ""}], "prompt": "

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

", "customMarkingAlgorithm": ""}], "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "advice": "

Apply the rule:

\n

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

\n

In this example

\n

\\(y=\\var{a}x^{\\var{b}}+\\var{c}x^{\\var{d}}+\\var{f}\\)

\n

\\(\\frac{dy}{dx}=\\var{b}*\\var{a}x^{\\var{b}-1}+\\var{d}*\\var{c}x^{\\var{d}-1}\\)

\n

\\(\\frac{dy}{dx}=\\simplify{{b}*{a}x^{{b}-1}+{d}*{c}x^{{d}-1}}\\)

", "variable_groups": [], "extensions": [], "variables": {"f": {"group": "Ungrouped variables", "description": "", "name": "f", "definition": "random(3..18#1)", "templateType": "randrange"}, "d": {"group": "Ungrouped variables", "description": "", "name": "d", "definition": "random(1..5#0.25)", "templateType": "randrange"}, "a": {"group": "Ungrouped variables", "description": "", "name": "a", "definition": "random(2..10#1)", "templateType": "randrange"}, "c": {"group": "Ungrouped variables", "description": "", "name": "c", "definition": "random(2..14#1)", "templateType": "randrange"}, "b": {"group": "Ungrouped variables", "description": "", "name": "b", "definition": "random(-12..-3#1)", "templateType": "randrange"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Power rule

"}, "statement": "\n

\\(y=\\var{a}x^{\\var{b}}+\\var{c}x^{\\var{d}}+\\var{f}\\)

", "tags": [], "rulesets": {}, "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}, {"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": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}, {"name": "Kamila Yusufu", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2554/"}]}