// Numbas version: exam_results_page_options {"metadata": {"description": "

Basic differentiation techniques, including evaluations, brackets/fractions, solving equation, and an application

", "licence": "Creative Commons Attribution-ShareAlike 4.0 International"}, "navigation": {"browse": true, "preventleave": true, "reverse": true, "onleave": {"message": "", "action": "none"}, "showresultspage": "oncompletion", "showfrontpage": true, "allowregen": true}, "showQuestionGroupNames": false, "question_groups": [{"name": "Group", "pickQuestions": 1, "pickingStrategy": "all-ordered", "questions": [{"name": "Differentiation (basic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "tags": ["Calculus", "calculus", "differentiation", "Differentiation"], "metadata": {"description": "

A question to test basic differentiation of functions.

", "licence": "None specified"}, "statement": "

Differentiate the following functions with respect to the variable $x$, simplifying your answers where possible.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..5)//Use as a power", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-5..5 except -1..1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "b", "d"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$x^\\var{a}-\\sin(\\var{b}x)$

", "answer": "{a}x^{a-1}-{b}cos({b}x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a}e^{-\\var{b}x}+\\frac{\\var{c}}{x}$

", "answer": "-{a}{b}e^(-{b}x)-{c}/x^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{d}\\ln(\\var{c}x)-\\var{a*b}\\cos\\left(\\frac{x}{\\var{b}}\\right)$

", "answer": "{d}/x+{a}sin(x/{b})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\simplify{{a}*sqrt(x)-{c}*exp({d}*x)+{10*d}*sin({c/10}*x)}$

", "answer": "{c*d}cos({c}/10*x)+{a}/(2*sqrt(x))-{c*d}*exp({d}*x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\simplify{{d}-{b}/x^2+{b-1}x}$

", "answer": "2{b}/x^3+{b-1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Differentiate and evaluate", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "tags": ["Calculus", "calculus", "differentiation", "Differentiation"], "metadata": {"description": "

A question to test basic differentiation of functions.

", "licence": "None specified"}, "statement": "

Differentiate the following functions and evaluate them at the given value of $x$.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x3": {"name": "x3", "group": "Q3", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "x5": {"name": "x5", "group": "Q5", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..5)//Use as a power", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything", "can_override": false}, "dy2": {"name": "dy2", "group": "Q2", "definition": "a*b*exp(b*x2)-2*c/x2^3", "description": "", "templateType": "anything", "can_override": false}, "dy1": {"name": "dy1", "group": "Q1", "definition": "a*x1^(a-1)+b*sin(b*x1)", "description": "", "templateType": "anything", "can_override": false}, "dy4": {"name": "dy4", "group": "Q4", "definition": "a/(2*sqrt(x4))+c*d*exp(d*x4)", "description": "", "templateType": "anything", "can_override": false}, "dy5": {"name": "dy5", "group": "Q5", "definition": "b-1+b/x5^2", "description": "", "templateType": "anything", "can_override": false}, "dy3": {"name": "dy3", "group": "Q3", "definition": "a*cos(x3/b)-d/x3", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Q1", "definition": "random(0.1..2 #0.1)", "description": "", "templateType": "anything", "can_override": false}, "x4": {"name": "x4", "group": "Q4", "definition": "random(0.1..1 #0.1)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-5..5 except -1..1)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "Q2", "definition": "random(-3..-0.1 #0.1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "b", "d"], "variable_groups": [{"name": "Q1", "variables": ["x1", "dy1"]}, {"name": "Q2", "variables": ["x2", "dy2"]}, {"name": "Q3", "variables": ["x3", "dy3"]}, {"name": "Q4", "variables": ["x4", "dy4"]}, {"name": "Q5", "variables": ["x5", "dy5"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If $y=x^\\var{a}-\\cos(\\var{b}x)$, calculate $\\frac{dy}{dx}$ when $x=\\var{x1}$.

", "stepsPenalty": 0, "steps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the derivative of $x^\\var{a}-\\cos(\\var{b}x)$?

", "answer": "{a}x^{a-1}+{b}*sin({b}x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "minValue": "dy1", "maxValue": "dy1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If $y=\\var{a}e^{\\var{b}x}+\\frac{\\var{c}}{x^2}$, calculate $\\frac{dy}{dx}$ when $x=\\var{x2}$.

", "stepsPenalty": 0, "steps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the derivative of $\\var{a}e^{\\var{b}x}+\\frac{\\var{c}}{x^2}$?

", "answer": "{a*b}*exp({b}x)-{2*c}/x^3", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "minValue": "dy2", "maxValue": "dy2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If $y=\\simplify{{a*b}*sin(x/{b})-{d}*ln({c}*x)}$, calculate $\\frac{dy}{dx}$ when $x=\\var{x3}$.

", "stepsPenalty": 0, "steps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the derivative of $\\simplify{{a*b}*sin(x/{b})-{d}*ln({c}*x)}$?

", "answer": "{a}*cos(x/{b})-{d}/x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "minValue": "dy3", "maxValue": "dy3", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If $y=\\simplify{{a}*sqrt(x)+{c}*exp({d}*x)}$, calculate $\\frac{dy}{dx}$ when $x=\\var{x4}$.

", "stepsPenalty": 0, "steps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the derivative of $\\simplify{{a}*sqrt(x)+{c}*exp({d}*x)}$?

", "answer": "{a}/(2*sqrt(x))+{c*d}*exp({d}*x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "minValue": "dy4", "maxValue": "dy4", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If $y=\\simplify{{d}-{b}/x+{b-1}x}$, calculate $\\frac{dy}{dx}$ when $x=\\var{x5}$.

", "stepsPenalty": 0, "steps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the derivative of $\\simplify{{d}-{b}/x+{b-1}x}$?

", "answer": "{b-1}+{b}/x^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "minValue": "dy5", "maxValue": "dy5", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Differentiate (bracket & fraction)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "metadata": {"description": "", "licence": "None specified"}, "variables": {"m2": {"definition": "random(1..m)", "description": "", "name": "m2", "templateType": "anything", "group": "Ungrouped variables"}, "m": {"definition": "random(1..3)", "description": "", "name": "m", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"definition": "random(1..6)", "description": "", "name": "c", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"definition": "random(1..5)", "description": "", "name": "a", "templateType": "anything", "group": "Ungrouped variables"}, "n": {"definition": "random(1..3)", "description": "", "name": "n", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"definition": "random(1..6)", "description": "", "name": "b", "templateType": "anything", "group": "Ungrouped variables"}}, "preamble": {"js": "", "css": ""}, "parts": [{"marks": 0, "showFeedbackIcon": true, "stepsPenalty": "0", "type": "gapfill", "gaps": [{"showFeedbackIcon": true, "type": "jme", "vsetrangepoints": 5, "checkvariablenames": false, "expectedvariablenames": [], "showCorrectAnswer": true, "answer": "{a*(n+2)}*t^{n+1}+{a*(c-b)*(n+1)}*t^{n}-{n*a*b*c}*t^{n-1}", "variableReplacementStrategy": "originalfirst", "marks": "5", "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "vsetrange": [0, 1], "showpreview": true, "variableReplacements": []}], "scripts": {}, "prompt": "

Differentiate the function

\n

\\[h=\\simplify{{a}*t^{n}}(t-\\var{b})(t+\\var{c})\\]

\n

$\\frac{dh}{dt}=$ [[0]]

", "steps": [{"showFeedbackIcon": true, "type": "jme", "vsetrangepoints": 5, "checkvariablenames": false, "expectedvariablenames": [], "showCorrectAnswer": true, "answer": "t^2+{c-b}*t-{b*c}", "variableReplacementStrategy": "originalfirst", "marks": 1, "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "vsetrange": [0, 1], "prompt": "

First expand the double bracket: $(t-\\var{b})(t+\\var{c})=$

", "showpreview": true, "variableReplacements": []}, {"showFeedbackIcon": true, "type": "jme", "vsetrangepoints": 5, "checkvariablenames": false, "expectedvariablenames": [], "showCorrectAnswer": true, "answer": "{a}*t^{n+2}+{a*(c-b)}*t^{n+1}-{a*b*c}*t^{n}", "variableReplacementStrategy": "originalfirst", "marks": 1, "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "vsetrange": [0, 1], "prompt": "

Now fully expand $\\simplify{{a}*t^{n}}(t-\\var{b})(t+\\var{c})$:

", "showpreview": true, "variableReplacements": []}], "showCorrectAnswer": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"marks": 0, "showFeedbackIcon": true, "stepsPenalty": "0", "type": "gapfill", "gaps": [{"showFeedbackIcon": true, "type": "jme", "vsetrangepoints": 5, "checkvariablenames": false, "expectedvariablenames": [], "showCorrectAnswer": true, "answer": "{m+1-m2}*a^{m-m2}+{a*(m-m2)}*a^{m-m2-1}-{b*m2}*a^{-m2-1}", "variableReplacementStrategy": "originalfirst", "marks": "5", "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "vsetrange": ["0.5", 1], "showpreview": true, "variableReplacements": []}], "scripts": {}, "prompt": "

Differentiate the function:

\n

\\[r=\\frac{\\simplify{a^{m+1}+{a}*a^{m}+{b}}}{\\simplify{a^{m2}}}\\]

\n

$\\frac{dr}{da}=$ [[0]]

", "steps": [{"marks": 0, "showFeedbackIcon": true, "type": "information", "scripts": {}, "prompt": "

First separate the fraction into 3 fractions:

\n

\\[\\frac{\\simplify{a^{m+1}+{a}*a^{m}+{b}}}{\\simplify{a^{m2}}}=\\frac{\\simplify{a^{m+1}}}{\\simplify{a^{m2}}}+\\frac{\\simplify{{a}*a^{m}}}{\\simplify{a^{m2}}}+\\frac{\\var{b}}{\\simplify{a^{m2}}}\\]

", "showCorrectAnswer": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"showFeedbackIcon": true, "type": "jme", "vsetrangepoints": 5, "checkvariablenames": false, "expectedvariablenames": [], "showCorrectAnswer": true, "answer": "a^{m+1-m2}+{a}*a^{m-m2}+{b}*a^{-m2}", "variableReplacementStrategy": "originalfirst", "marks": 1, "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "vsetrange": [0, 1], "prompt": "

Now simplify each fraction:

", "showpreview": true, "variableReplacements": []}], "showCorrectAnswer": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}], "functions": {}, "tags": [], "advice": "", "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

Differentiate the following functions which involve brackets or fractions.

", "ungrouped_variables": ["a", "n", "b", "c", "m", "m2"], "variable_groups": [], "rulesets": {}, "type": "question"}, {"name": "Solve derivative equation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "variables": {"c": {"templateType": "anything", "name": "c", "group": "Q2", "description": "", "definition": "random(1..4)"}, "dy": {"templateType": "anything", "name": "dy", "group": "Q1", "description": "", "definition": "siground(a*b*exp(b*x),2)"}, "f": {"templateType": "anything", "name": "f", "group": "Q2", "description": "", "definition": "random(-10..10)"}, "x": {"templateType": "anything", "name": "x", "group": "Q1", "description": "", "definition": "random(1..10 #0.1)"}, "dz": {"templateType": "anything", "name": "dz", "group": "Q2", "description": "", "definition": "2*c*t+d"}, "t": {"templateType": "anything", "name": "t", "group": "Q2", "description": "", "definition": "random(1..20)"}, "a": {"templateType": "anything", "name": "a", "group": "Q1", "description": "", "definition": "random(2..20)"}, "x1": {"templateType": "anything", "name": "x1", "group": "Q1", "description": "", "definition": "ln(dy/(a*b))/b"}, "d": {"templateType": "anything", "name": "d", "group": "Q2", "description": "", "definition": "random(-10..10 except 0)"}, "b": {"templateType": "anything", "name": "b", "group": "Q1", "description": "", "definition": "random(0.1..1 #0.1)"}}, "statement": "

The following questions require you to solve an equation involving derivatives.

", "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "advice": "", "variable_groups": [{"variables": ["c", "d", "f", "t", "dz"], "name": "Q2"}, {"variables": ["a", "b", "dy", "x", "x1"], "name": "Q1"}], "parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "prompt": "

Let $y$ be the following function:

\n

\\[z=\\simplify{a*t^2+b*t+c}\\]

\n

Given that $a=\\var{c}$, $b=\\var{d}$ and $c=\\var{f}$, calculate the value of $t$ such that $\\frac{dz}{dt}=\\var{dz}$.

\n

$t=$ [[0]]

", "stepsPenalty": "0", "scripts": {}, "showCorrectAnswer": true, "marks": 0, "steps": [{"variableReplacementStrategy": "originalfirst", "showpreview": true, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "vsetrangepoints": 5, "vsetrange": [0, 1], "marks": 1, "variableReplacements": [], "type": "jme", "prompt": "

Substitute the values of the constants $a$, $b$ and $c$ into $z$:

", "checkingtype": "absdiff", "showCorrectAnswer": true, "showFeedbackIcon": true, "answer": "{c}*t^2+{d}*t+{f}", "checkingaccuracy": 0.001}, {"variableReplacementStrategy": "originalfirst", "showpreview": true, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "vsetrangepoints": 5, "vsetrange": [0, 1], "marks": 1, "variableReplacements": [], "type": "jme", "prompt": "

Now differentiate $z$ to obtain $\\frac{dz}{dt}$:

", "checkingtype": "absdiff", "showCorrectAnswer": true, "showFeedbackIcon": true, "answer": "{2*c}*t+{d}", "checkingaccuracy": 0.001}, {"type": "information", "variableReplacementStrategy": "originalfirst", "prompt": "

Now solve $\\frac{dz}{dt}=\\var{dz}$ by transposing.

", "scripts": {}, "showCorrectAnswer": true, "marks": 0, "showFeedbackIcon": true, "variableReplacements": []}], "showFeedbackIcon": true, "gaps": [{"variableReplacementStrategy": "originalfirst", "showpreview": false, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "vsetrangepoints": 5, "vsetrange": [0, 1], "marks": "5", "variableReplacements": [], "type": "jme", "checkingtype": "sigfig", "showCorrectAnswer": true, "showFeedbackIcon": true, "answer": "{t}", "checkingaccuracy": "2"}], "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "prompt": "

Let $y$ be the following function:

\n

\\[y=\\simplify{a*exp(b*x)}\\]

\n

Given that $a=\\var{a}$ and $b=\\var{b}$, calculate the value of $x$ such that $\\frac{dy}{dx}=\\var{dy}$.

\n

$x=$ [[0]]

", "stepsPenalty": "0", "scripts": {}, "showCorrectAnswer": true, "marks": 0, "steps": [{"variableReplacementStrategy": "originalfirst", "showpreview": true, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "vsetrangepoints": 5, "vsetrange": [0, 1], "marks": 1, "variableReplacements": [], "type": "jme", "prompt": "

Substitute the values of the constants $a$ and $b$ into $y$:

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

Now differentiate $y$ to obtain $\\frac{dy}{dx}$:

", "checkingtype": "absdiff", "showCorrectAnswer": true, "showFeedbackIcon": true, "answer": "{a*b}*exp({b}*x)", "checkingaccuracy": 0.001}, {"type": "information", "variableReplacementStrategy": "originalfirst", "prompt": "

Now solve $\\frac{dy}{dx}=\\var{dy}$ by transposing and using natural log ($\\ln$).

", "scripts": {}, "showCorrectAnswer": true, "marks": 0, "showFeedbackIcon": true, "variableReplacements": []}], "showFeedbackIcon": true, "gaps": [{"variableReplacementStrategy": "originalfirst", "showpreview": false, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "vsetrangepoints": 5, "vsetrange": [0, 1], "marks": "5", "variableReplacements": [], "type": "jme", "checkingtype": "sigfig", "showCorrectAnswer": true, "showFeedbackIcon": true, "answer": "{x1}", "checkingaccuracy": "2"}], "variableReplacements": []}], "preamble": {"css": "", "js": ""}, "functions": {}, "ungrouped_variables": [], "metadata": {"licence": "None specified", "description": ""}, "tags": [], "type": "question"}, {"name": "Differentiation application (dynamics)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

The distance, $s$ (in metres), travelled by a body after $t$ (in seconds) is given by the expression

\n

\\[s=\\simplify{{c}+{a}*t+{b}*t^2}\\]

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"d3": {"name": "d3", "group": "Ungrouped variables", "definition": "c+a*t3+b*t3^2", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Ungrouped variables", "definition": "c+a*t1+b*t1^2", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "-2*b*t3", "description": "", "templateType": "anything", "can_override": false}, "t3": {"name": "t3", "group": "Ungrouped variables", "definition": "random(4..9)", "description": "", "templateType": "anything", "can_override": false}, "v2": {"name": "v2", "group": "Ungrouped variables", "definition": "a+2*b*t2", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-20..-5)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything", "can_override": false}, "t1": {"name": "t1", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "t1s": {"name": "t1s", "group": "Ungrouped variables", "definition": "\"second\"+if(t1>1,\"s\",\"\")", "description": "", "templateType": "anything", "can_override": false}, "t2": {"name": "t2", "group": "Ungrouped variables", "definition": "random(2..5 except t1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "t1", "t1s", "d1", "t2", "v2", "t3", "d3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the distance travelled after {t1} {t1s}?

\n

[[0]] metres

", "stepsPenalty": "0", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Substitute $t=\\var{t1}$ into the formula for distance.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{d1}", "maxValue": "{d1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the velocity of the body after {t2} seconds.

\n

[[0]] metres per second

", "stepsPenalty": "0", "steps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Differentiate $s$ to obtain a formula for velocity:

", "answer": "{a}+{2*b}*t", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "t", "value": ""}]}, {"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Now substitute $t=\\var{t2}$ into the formula for velocity.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{v2}", "maxValue": "{v2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

When does the body come to rest?

\n

[[0]] seconds

", "stepsPenalty": "0", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The body is at rest when its velocity is zero.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{t3}", "maxValue": "{t3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

How far has the body travelled when it comes to rest?

\n

[[0]] metres

", "stepsPenalty": "0", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

From part (c) you know that the body comes to rest after {t3} seconds. Now calculate the distance travelled at this time, i.e. substitute $t=\\var{t3}$ into the formula for distance.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{d3}", "maxValue": "{d3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the acceleration of the body?

\n

[[0]] metres per second squared

", "stepsPenalty": "0", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Differentiate the velocity formula to obtain a formula for acceleration.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{2*b}", "maxValue": "{2*b}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "percentPass": "90", "timing": {"allowPause": true, "timeout": {"message": "", "action": "none"}, "timedwarning": {"message": "", "action": "none"}}, "name": "Differentiation skills", "feedback": {"intro": "", "feedbackmessages": [], "showactualmark": true, "showtotalmark": true, "showanswerstate": true, "advicethreshold": 0, "allowrevealanswer": true}, "duration": 0, "type": "exam", "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "extensions": [], "custom_part_types": [], "resources": []}