// Numbas version: exam_results_page_options {"name": "Differentiation 1 General Rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"ans22": {"description": "", "definition": "pow[1]-1", "group": "Ungrouped variables", "templateType": "anything", "name": "ans22"}, "ans31": {"description": "", "definition": "pow[2]*num[1]", "group": "Ungrouped variables", "templateType": "anything", "name": "ans31"}, "ans12": {"description": "", "definition": "pow[0]-1", "group": "Ungrouped variables", "templateType": "anything", "name": "ans12"}, "ans11": {"description": "", "definition": "pow[0]", "group": "Ungrouped variables", "templateType": "anything", "name": "ans11"}, "pow": {"description": "", "definition": "shuffle(3..7)[0..3]", "group": "Ungrouped variables", "templateType": "anything", "name": "pow"}, "num": {"description": "", "definition": "shuffle(2..5)[0..2]", "group": "Ungrouped variables", "templateType": "anything", "name": "num"}, "ans32": {"description": "", "definition": "pow[2]-1", "group": "Ungrouped variables", "templateType": "anything", "name": "ans32"}, "ans21": {"description": "", "definition": "pow[1]*num[0]", "group": "Ungrouped variables", "templateType": "anything", "name": "ans21"}}, "tags": ["rebelmaths"], "rulesets": {}, "extensions": [], "name": "Differentiation 1 General Rule", "statement": "

Remember the rule:

\n

If $y = ax^n$ then $\\frac{dy}{dx} = anx^{n-1}$

\n

\n

Differentiate each of the following:

", "variable_groups": [], "preamble": {"js": "", "css": ""}, "functions": {}, "advice": "

i) 

\n

$y = x^{\\var{pow[0]}}$

\n

$\\frac{dy}{dx} = \\var{ans11}x^{\\var{pow[0]}-1} = \\var{ans11}x^{\\var{ans12}}$

\n

ii) 

\n

$y = \\var{num[0]}x^{\\var{pow[1]}}$

\n

$\\frac{dy}{dx} = \\var{ans21}x^{(\\var{pow[1]}-1)} = \\var{ans21}x^{\\var{ans22}}$

\n

iii) 

\n

$y = \\var{num[1]}x^{\\var{pow[2]}}$

\n

$\\frac{dy}{dx} = \\var{ans31}x^{(\\var{pow[2]}-1)} = \\var{ans31}x^{\\var{ans32}}$

", "ungrouped_variables": ["pow", "num", "ans11", "ans12", "ans21", "ans22", "ans31", "ans32"], "parts": [{"customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

$y = x^{\\var{pow[0]}}$

\n

$\\frac{dy}{dx} =$ [[0]] 

\n

", "extendBaseMarkingAlgorithm": true, "unitTests": [], "sortAnswers": false, "type": "gapfill", "marks": 0, "scripts": {}, "adaptiveMarkingPenalty": 0, "customName": "", "variableReplacements": [], "gaps": [{"checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "checkingType": "absdiff", "showPreview": true, "type": "jme", "scripts": {}, "adaptiveMarkingPenalty": 0, "customName": "", "vsetRange": [0, 1], "failureRate": 1, "customMarkingAlgorithm": "", "valuegenerators": [{"value": "", "name": "x"}], "extendBaseMarkingAlgorithm": true, "answer": "{ans11}x^{ans12}", "unitTests": [], "vsetRangePoints": 5, "marks": 1, "variableReplacements": [], "useCustomName": false, "showCorrectAnswer": true, "showFeedbackIcon": true}], "useCustomName": false, "showCorrectAnswer": true, "showFeedbackIcon": true}, {"customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

$y = \\var{num[0]}x^{\\var{pow[1]}}$

\n

$\\frac{dy}{dx} =$ [[0]] 

", "extendBaseMarkingAlgorithm": true, "unitTests": [], "sortAnswers": false, "type": "gapfill", "marks": 0, "scripts": {}, "adaptiveMarkingPenalty": 0, "customName": "", "variableReplacements": [], "gaps": [{"checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "checkingType": "absdiff", "showPreview": true, "type": "jme", "scripts": {}, "adaptiveMarkingPenalty": 0, "customName": "", "vsetRange": [0, 1], "failureRate": 1, "customMarkingAlgorithm": "", "valuegenerators": [{"value": "", "name": "x"}], "extendBaseMarkingAlgorithm": true, "answer": "{ans21}x^{ans22}", "unitTests": [], "vsetRangePoints": 5, "marks": 1, "variableReplacements": [], "useCustomName": false, "showCorrectAnswer": true, "showFeedbackIcon": true}], "useCustomName": false, "showCorrectAnswer": true, "showFeedbackIcon": true}, {"customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

$y = \\var{num[1]}x^{\\var{pow[2]}}$

\n

$\\frac{dy}{dx} =$ [[0]] 

", "extendBaseMarkingAlgorithm": true, "unitTests": [], "sortAnswers": false, "type": "gapfill", "marks": 0, "scripts": {}, "adaptiveMarkingPenalty": 0, "customName": "", "variableReplacements": [], "gaps": [{"checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "checkingType": "absdiff", "showPreview": true, "type": "jme", "scripts": {}, "adaptiveMarkingPenalty": 0, "customName": "", "vsetRange": [0, 1], "failureRate": 1, "customMarkingAlgorithm": "", "valuegenerators": [{"value": "", "name": "x"}], "extendBaseMarkingAlgorithm": true, "answer": "{ans31}x^{ans32}", "unitTests": [], "vsetRangePoints": 5, "marks": 1, "variableReplacements": [], "useCustomName": false, "showCorrectAnswer": true, "showFeedbackIcon": true}], "useCustomName": false, "showCorrectAnswer": true, "showFeedbackIcon": true}], "metadata": {"description": "", "licence": "None specified"}, "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}, {"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}]}]}], "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}, {"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}]}