// Numbas version: exam_results_page_options {"name": "Differentiate product of binomial and exponential", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"s1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "name": "s1"}, "n": {"templateType": "anything", "group": "Ungrouped variables", "definition": "s2*random(2..5)", "description": "", "name": "n"}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "s1*random(2..9)", "description": "", "name": "b"}, "m": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..8)", "description": "", "name": "m"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "a"}, "s2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "name": "s2"}}, "ungrouped_variables": ["a", "b", "s2", "s1", "m", "n"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "name": "Differentiate product of binomial and exponential", "functions": {}, "showQuestionGroupNames": false, "parts": [{"stepsPenalty": 0, "scripts": {}, "gaps": [{"answer": "{m * b} * ({a} + {b} * x) ^ {m -1} * e ^ ({n} * x) + {n} * ({a} + {b} * x) ^ {m} * e ^ ({n} * x)", "showCorrectAnswer": true, "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "answersimplification": "std", "marks": 3, "vsetrangepoints": 5}], "type": "gapfill", "prompt": "\n\t\t\t

$\\simplify[std]{f(x) = ({a} + {b} * x) ^ {m} * e ^ ({n} * x)}$

\n\t\t\t

$\\displaystyle \\frac{df}{dx}=\\;$[[0]]

\n\t\t\t

Clicking on Show steps gives you more information, you will not lose any marks by doing so.

\n\t\t\t", "steps": [{"type": "information", "prompt": "

The product rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u * v,x,1) = u * Diff(v,x,1) + v * Diff(u,x,1)}\\]

", "showCorrectAnswer": true, "scripts": {}, "marks": 0}], "showCorrectAnswer": true, "marks": 0}], "statement": "

Differentiate the following function $f(x)$ using the product rule.

", "tags": ["algebraic manipulation", "Calculus", "checked2015", "derivative of a product", "differentiating a product of functions", "differentiating the exponential function", "differentiation", "exponential function", "MAS1601", "product rule", "Steps"], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"], "surdf": [{"result": "(sqrt(b)*a)/b", "pattern": "a/sqrt(b)"}]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "\n\t\t

31/07/2012:

\n\t\t

Added tags.

\n\t\t

Improved display of prompt.

\n\t\t

Checked calculation.

\n\t\t

Allowed no penalty on looking at Steps.

\n\t\t

Issue with Show steps to be resolved. Has been resolved.

\n\t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "

Differentiate the function $(a + b x)^m  e ^ {n x}$ using the product rule.

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "\n\t \n\t \n\t

The product rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u * v,x,1) = u * Diff(v,x,1) + v * Diff(u,x,1)}\\]

\n\t \n\t \n\t \n\t

For this example:

\n\t \n\t \n\t \n\t

\\[\\simplify[std]{u = ({a} + {b} * x) ^ {m}}\\Rightarrow \\simplify[std]{Diff(u,x,1) = {m * b} * ({a} + {b} * x) ^ {m -1}}\\]

\n\t \n\t \n\t \n\t

\\[\\simplify[std]{v = e ^ ({n} * x)} \\Rightarrow \\simplify[std]{Diff(v,x,1) = {n} * e ^ ({n} * x)}\\]

\n\t \n\t \n\t \n\t

Hence on substituting into the product rule above we get:

\n\t \n\t \n\t \n\t

\\[\\simplify[std]{Diff(f,x,1) = {m * b} * ({a} + {b} * x) ^ {m -1} * e ^ ({n} * x) + {n} * ({a} + {b} * x) ^ {m} * e ^ ({n} * x) }\\]

\n\t \n\t \n\t", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}