// Numbas version: exam_results_page_options {"name": "Differentiation 4 Rule for exponential and natural log", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num", "ans1", "ans2", "ans3", "num2", "num1"], "parts": [{"marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"vsetrangepoints": 5, "checkingtype": "absdiff", "answer": "{ans1}e^({ans1}x)", "type": "jme", "scripts": {}, "checkingaccuracy": 0.001, "checkvariablenames": false, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": false, "vsetrange": [0, 1], "showpreview": true, "expectedvariablenames": []}], "type": "gapfill", "scripts": {}, "prompt": "

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

\n

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

\n

"}, {"marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"vsetrangepoints": 5, "checkingtype": "absdiff", "answer": "{ans2}e^({ans2}x)", "type": "jme", "scripts": {}, "checkingaccuracy": 0.001, "checkvariablenames": false, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "vsetrange": [0, 1], "showpreview": true, "expectedvariablenames": []}], "type": "gapfill", "scripts": {}, "prompt": "

$y = e^{\\var{num1}x}$

\n

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

"}, {"marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"vsetrangepoints": 5, "checkingtype": "absdiff", "answer": "{ans3}e^({num2}x)", "type": "jme", "scripts": {}, "checkingaccuracy": 0.001, "checkvariablenames": false, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "vsetrange": [0, 1], "showpreview": true, "expectedvariablenames": []}], "type": "gapfill", "scripts": {}, "prompt": "

$y = \\var{num[1]}e^{\\var{num2}x}$

\n

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

"}, {"marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"vsetrangepoints": 5, "checkingtype": "absdiff", "answer": "1/x", "type": "jme", "scripts": {}, "checkingaccuracy": 0.001, "checkvariablenames": false, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "vsetrange": [0, 1], "showpreview": true, "expectedvariablenames": []}], "type": "gapfill", "scripts": {}, "prompt": "

$y = \\ln \\var{num[2]}x$

\n

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

"}, {"marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"vsetrangepoints": 5, "checkingtype": "absdiff", "answer": "1/x", "type": "jme", "scripts": {}, "checkingaccuracy": 0.001, "checkvariablenames": false, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "vsetrange": [0, 1], "showpreview": true, "expectedvariablenames": []}], "type": "gapfill", "scripts": {}, "prompt": "

$y = \\ln \\var{num[3]}x$

\n

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

"}, {"marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"vsetrangepoints": 5, "checkingtype": "absdiff", "answer": "1/x", "type": "jme", "scripts": {}, "checkingaccuracy": 0.001, "checkvariablenames": false, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "vsetrange": [0, 1], "showpreview": true, "expectedvariablenames": []}], "type": "gapfill", "scripts": {}, "prompt": "

$y = \\ln \\var{num[4]}x$

\n

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

"}], "extensions": [], "name": "Differentiation 4 Rule for exponential and natural log", "variables": {"num2": {"definition": "random(-5..-2)", "templateType": "anything", "name": "num2", "group": "Ungrouped variables", "description": ""}, "num": {"definition": "shuffle(2..8)[0..5]", "templateType": "anything", "name": "num", "group": "Ungrouped variables", "description": ""}, "num1": {"definition": "random(0.5..4.5)", "templateType": "anything", "name": "num1", "group": "Ungrouped variables", "description": ""}, "ans1": {"definition": "num[0]", "templateType": "anything", "name": "ans1", "group": "Ungrouped variables", "description": ""}, "ans3": {"definition": "num2*num[1]", "templateType": "anything", "name": "ans3", "group": "Ungrouped variables", "description": ""}, "ans2": {"definition": "num1", "templateType": "anything", "name": "ans2", "group": "Ungrouped variables", "description": ""}}, "preamble": {"css": "", "js": ""}, "variable_groups": [], "metadata": {"licence": "None specified", "description": ""}, "rulesets": {}, "statement": "

Remember the rules:

\n

$y = e^ x  => \\frac{dy}{dx} = e^ x$

\n

$y = e^ {ax}  => \\frac{dy}{dx} = ae^ {ax}$

\n

$y = \\ln (x)  => \\frac{dy}{dx} = \\frac{1}{x}$

\n

$y = \\ln (ax)  => \\frac{dy}{dx} = \\frac{1}{x}$

\n

Differentiate each of the following:

", "functions": {}, "advice": "

i) 

\n

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

\n

$\\frac{dy}{dx} = \\var{ans1}e^{\\var{num[0]}x}$

\n

ii) 

\n

$y = e^{\\var{num1}x}$

\n

$\\frac{dy}{dx} = \\var{ans2}e^{\\var{num1}x}$

\n

iii) 

\n

$y = \\var{num[1]}e^{\\var{num2}x}$

\n

$\\frac{dy}{dx} = (\\var{num[1]} \\times \\var{num2})e^{\\var{num2}x} = \\var{ans3}e^{\\var{num2}x}$

\n

iv) 

\n

$y = \\ln \\var{num[2]}x$

\n

$\\frac{dy}{dx} = \\frac{1}{x}$

\n

v) 

\n

$y = \\ln \\var{num[3]}x$

\n

$\\frac{dy}{dx} = \\frac{1}{x}$

\n

vi) 

\n

$y = \\ln \\var{num[4]}x$

\n

$\\frac{dy}{dx} = \\frac{1}{x}$

", "tags": ["rebelmaths"], "type": "question", "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}