// Numbas version: exam_results_page_options {"percentPass": 0, "metadata": {"description": "

Basic indefinite integrals, Basic definite integrals, integration by substitution

\n

rebel

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "duration": 0, "timing": {"timedwarning": {"message": "", "action": "none"}, "allowPause": true, "timeout": {"message": "", "action": "none"}}, "showQuestionGroupNames": false, "navigation": {"onleave": {"message": "", "action": "none"}, "browse": true, "reverse": true, "allowregen": true, "preventleave": true, "showresultspage": "oncompletion", "showfrontpage": true}, "name": "Maria's copy of Introduction to Integration", "question_groups": [{"name": "Group", "pickQuestions": 1, "pickingStrategy": "all-ordered", "questions": [{"name": "Antiderivatives", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "TEAME UCC", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/351/"}], "parts": [{"scripts": {}, "checkingaccuracy": 0.001, "showpreview": true, "checkingtype": "absdiff", "showCorrectAnswer": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "

$f(x) = \\var{a}x - \\var{b}$

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

$f(x) = \\frac{1}{\\var{c}}+ \\frac{2}{\\var{d}}x^2 - \\frac{3}{\\var{f}}x^3$

", "marks": 1, "expectedvariablenames": [], "type": "jme", "answer": "1/{c}x+2/(3{d})x^3-3x^4/(4{f})+C", "vsetrange": [0, 1], "checkvariablenames": false, "showFeedbackIcon": true}, {"scripts": {}, "checkingaccuracy": 0.001, "showpreview": true, "checkingtype": "absdiff", "showCorrectAnswer": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "

$f(x) = e^\\var{g}$

", "marks": 1, "expectedvariablenames": [], "type": "jme", "answer": "e^{g}x+C", "vsetrange": [0, 1], "checkvariablenames": false, "showFeedbackIcon": true}, {"scripts": {}, "checkingaccuracy": 0.001, "showpreview": true, "checkingtype": "absdiff", "showCorrectAnswer": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "

$f(x) = e^{\\var{g}x}$

", "marks": 1, "expectedvariablenames": [], "type": "jme", "answer": "e^({g}x)/{g}+C", "vsetrange": [0, 1], "checkvariablenames": false, "showFeedbackIcon": true}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"f": {"description": "", "group": "Ungrouped variables", "definition": "random(4,5,7,8)", "templateType": "anything", "name": "f"}, "c": {"description": "", "group": "Ungrouped variables", "definition": "random(2..4)", "templateType": "anything", "name": "c"}, "d": {"description": "", "group": "Ungrouped variables", "definition": "random(3,5,7)", "templateType": "anything", "name": "d"}, "g": {"description": "", "group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything", "name": "g"}, "a": {"description": "", "group": "Ungrouped variables", "definition": "2*random(2..4)", "templateType": "anything", "name": "a"}, "b": {"description": "", "group": "Ungrouped variables", "definition": "random(1..9 except a)", "templateType": "anything", "name": "b"}}, "metadata": {"description": "

Antiderivatives

\n

rebel 

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Find the most general antiderivatives of the functions. Use the letter C to represent an unknown constant. 

", "preamble": {"js": "", "css": ""}, "advice": "

Don't forget to include the unknown constant C.

", "rulesets": {}, "variable_groups": [], "ungrouped_variables": ["a", "c", "b", "d", "g", "f"], "tags": ["Rebel", "REBEL", "rebel", "rebelmaths"], "functions": {}, "type": "question"}, {"name": "Definite Integrals", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "TEAME UCC", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/351/"}], "functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Definite Integrals

\n

rebel

\n

rebelmaths

\n

Rebelmaths

\n

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "b", "d", "g", "f", "h", "k", "j", "l"], "parts": [{"checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "prompt": "

$\\int_\\var{a}^\\var{b}(1 + \\var{c}x)\\mathrm{dx}$

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

$\\int_\\var{d}^\\var{f} (x^2 + \\var{g}x-\\var{h})\\mathrm{dx}$

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

$\\int_\\var{j}^\\var{k}(x^3-\\var{l}x^2)\\mathrm{dx}$

", "variableReplacements": [], "checkingaccuracy": 0.001, "answer": "{k}^4/4-{l}{k}^3/3-{j}^4/4+{l}{j}^3/3", "expectedvariablenames": [], "showCorrectAnswer": true, "checkingtype": "absdiff", "vsetrange": [0, 1], "marks": 1, "showFeedbackIcon": true, "type": "jme", "scripts": {}, "showpreview": true}], "preamble": {"css": "", "js": ""}, "tags": ["Rebel", "REBEL", "rebel", "rebelmaths"], "statement": "

Evaluate the integrals: 

", "rulesets": {}, "variable_groups": [], "advice": "

First integrate the function and then substitute in the given limits.

", "variables": {"d": {"name": "d", "definition": "random(-4..0)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "h": {"name": "h", "definition": "random(2..8)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "l": {"name": "l", "definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "j": {"name": "j", "definition": "random(-4..0)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c": {"name": "c", "definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "f": {"name": "f", "definition": "random(1..4)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "k": {"name": "k", "definition": "random(1..4)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"name": "b", "definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "g": {"name": "g", "definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"name": "a", "definition": "random(-4..0)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "type": "question"}, {"name": "Indefinite Integrals", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "TEAME UCC", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/351/"}, {"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}], "tags": ["rebel", "REBEL", "Rebel", "rebelmaths"], "metadata": {"description": "

Indefinite Integrals

\n

rebel

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Solve the following indefinite integrals, using $C$ to represent an unknown constant.

", "advice": "

Indefinite Integrals

", "rulesets": {}, "variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..9 except a except b)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything"}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(1..8 except d)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..9 except a)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "b", "d", "f"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"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": "

$\\int(x^4-\\var{a}x^3+\\var{b}x-\\var{c})\\mathrm{dx}$

", "answer": "x^5/5-{a}x^4/4+{b}x^2/2-{c}x+C", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "c", "value": ""}, {"name": "x", "value": ""}]}, {"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": "

$\\int(u+\\var{d})(2u+\\var{f})\\mathrm{du}$

", "answer": "2u^3/3+u^2({f}+2{d})/2+{d}{f}u+C", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "c", "value": ""}, {"name": "u", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Definite Integrals 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "TEAME UCC", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/351/"}], "advice": "

First integrate the function and then substitute in the limits given

", "parts": [{"checkingtype": "absdiff", "vsetrange": [0, 1], "showCorrectAnswer": true, "type": "jme", "checkingaccuracy": 0.001, "showFeedbackIcon": true, "answer": "e^2/(e+1)", "showpreview": true, "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "variableReplacements": [], "marks": 1, "scripts": {}, "checkvariablenames": false, "prompt": "

$\\int_0^1(x^e+e^x)\\mathrm{dx}$

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

$\\int_1^\\var{b}(\\frac{x^3+\\var{c}x^6}{x^4})\\mathrm{dx}$

\n

You may have $\\ln$ terms in your answer.

", "expectedvariablenames": []}, {"allowFractions": false, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "type": "numberentry", "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "minValue": "6{a}", "prompt": "

$\\int_0^\\var{d}\\sqrt{\\frac{3}{z}}\\mathrm{dz}$

", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 1, "scripts": {}, "maxValue": "6{a}"}], "variablesTest": {"condition": "", "maxRuns": 100}, "tags": ["Rebel", "REBEL", "rebel", "rebelmaths"], "metadata": {"description": "

Definite Intgerals

\n

rebel

\n

rebelmaths

\n

Rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "variable_groups": [], "functions": {}, "ungrouped_variables": ["a", "c", "b", "d"], "preamble": {"css": "", "js": ""}, "statement": "

Find the following definite integrals

", "variables": {"d": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "d", "definition": "3*a*a"}, "b": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "b", "definition": "random(2..5)"}, "c": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "c", "definition": "random(2..4)"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "a", "definition": "random(2..4)"}}, "type": "question"}, {"name": "Julie's copy of Definite integration 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["ans1", "ans2", "ans3", "ans4", "b4", "b1", "b2", "d1", "s2", "s7", "s6", "m4", "m3", "m2", "tol", "a1", "tans4", "c1", "tans1", "tans3", "tol1", "p", "t", "w", "n4"], "tags": ["Calculus", "calculus", "definite integration", "integration", "integration by parts", "integration by parts twice", "rebelmaths"], "advice": "\n

a)
\\[I=\\int_1^\\var{b1}\\simplify[std]{({a1} * x ^ 2 + {c1} * x + {d1})^2}\\;dx\\]
Expand the parentheses to obtain:

\n

\\[\\begin{eqnarray*}I &=& \\int_1^\\var{b1} \\simplify[std]{{a1 ^ 2} * x ^ 4 + {2 * a1 * c1} * x ^ 3+ {c1 ^ 2+2*a1*d1} * x ^ 2 + {2 * c1 * d1} * x+ {d1 ^ 2} }\\;dx\\\\ &=&\\left[\\simplify[std]{{a1 ^ 2}/5 * x ^ 5 + {2 * a1 * c1}/4 * x ^ 4+ {c1 ^ 2+2*a1*d1}/3 * x ^ 3 + {2 * c1 * d1}/2 * x^2+ {d1 ^ 2}x }\\right]_1^\\var{b1}\\\\ &=&\\var{tans1}\\\\ \\\\&=&\\var{ans1}\\mbox{ to 2 decimal places} \\end{eqnarray*} \\]

\n

b)
\\[\\begin{eqnarray*}I&=&\\int_0^{\\var{b2}}\\simplify[std]{1/(x+{m2})}\\;dx\\\\ &=&\\left[\\ln(x+\\var{m2})\\right]_0^{\\var{b2}}\\\\ &=& \\ln(\\var{b2+m2})-\\ln(\\var{m2})\\\\ &=&\\ln\\left(\\frac{\\var{b2+m2}}{\\var{m2}}\\right)\\\\ &=&\\var{ans2}\\mbox{ to 2 decimal places} \\end{eqnarray*} \\]

\n

c)
\\[I=\\int_0^\\pi\\simplify[std]{x * ({w} * Sin({m3} * x) + {1 -w} * Cos({m3} * x))}\\;dx\\]
We use integration by parts.

\n

Recall that:
\\[\\int u\\frac{dv}{dx}\\;dx=uv-\\int \\frac{du}{dx}\\;v\\;dx\\]
Here we set $u=x$ and $\\displaystyle \\frac{dv}{dx}=\\simplify[std]{ {w} * Sin({m3} * x) + {1 -w} * Cos({m3} * x)}$

\n

Hence \\[v=\\simplify[std]{({-w}/ {m3}) * Cos({m3} * x) + {1 -w} * (({1-w}/ {m3}) * Sin({m3} * x))}\\]

\n

So \\[\\begin{eqnarray*} I&=&\\left[\\simplify[std]{{-w}*((x / {m3}) * Cos({m3} * x)) + {1 -w} * ((x / {m3}) * Sin({m3} * x))}\\right]_0^\\pi -\\int_0^\\pi\\simplify[std]{ ({ -w} / {m3} )* Cos({m3} * x) + {1 -w} * (1 / {m3} * Sin({m3} * x))}\\;dx\\\\ &=&\\simplify[std]{({-w*cos(m3*pi)})*({pi}/{m3})}-\\left[\\simplify[std]{{ -w} * (1 / {m3 ^ 2})* Sin({m3} * x) -({1 -w} * (1 / {m3 ^ 2}) * Cos({m3} * x))}\\right]_0^\\pi\\\\ &=& \\var{ans3}\\mbox{ to 2 decimal places} \\end{eqnarray*} \\]
d)

\n

\\[I=\\int_0^{\\var{b4}}\\simplify[std]{x ^ {m4} * Exp({n4} * x)}\\;dx\\]

\n

Use integration by parts twice with $u=x^2$ and $\\displaystyle \\frac{dv}{dx}=\\simplify[std]{e^({n4}x)}\\Rightarrow v = \\simplify[std]{1/{n4}e^({n4}x)}$
\\[\\begin{eqnarray*} I&=&\\left[\\simplify[std]{x^2/{n4}Exp({n4} * x)}\\right]_0^{\\var{b4}}+\\simplify[std]{2/{abs(n4)}DefInt(x*Exp({n4} * x),x,0,{b4})}\\\\ &=&\\simplify[std]{{b4^2}/{n4}*e^{p}-2/{n4}}\\left(\\left[\\simplify[std]{x/{n4}*e^({n4}*x)}\\right]_0^{\\var{b4}}+\\simplify[std]{1/{abs(n4)}DefInt(e^({n4}x),x,0,{b4})}\\right)\\\\ &=&\\simplify[std]{{b4^2}/{n4}*e^{p}-2/{n4}}\\left(\\simplify[std]{{b4}/{n4}*e^{p}-1/{n4}}\\left[\\simplify[std]{1/{n4}*e^({n4}*x)}\\right]_0^{\\var{b4}}\\right)\\\\ &=&\\simplify[std]{({b4 ^ 2} / {n4}) * Exp({p}) -(({2 * b4} / {n4 ^ 2}) * Exp({p})) + (2 / {n4 ^ 3}) * (Exp({p}) -1)}\\\\ &=&\\var{ans4}\\mbox{ to 4 decimal places} \\end{eqnarray*} \\]

\n \n", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"prompt": "\n

\\[I=\\int_1^{\\var{b1}}\\simplify[std]{({a1} * x ^ 2 + {c1} * x + {d1})^2}\\;dx\\]

\n

$I=\\;\\;$[[0]]

\n

Input your answer to 2 decimal places.

\n \n", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "ans1+tol", "minValue": "ans1-tol", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 4, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Evaluate the following definite integral.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"ans1": {"definition": "precround(tans1,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "precround(ln(1+b2/m2),2)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans3": {"definition": "precround(tans3,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "ans4": {"definition": "precround(tans4,4)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans4", "description": ""}, "b4": {"definition": "s7*random(1,2,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "b4", "description": ""}, "b1": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(1..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "d1": {"definition": "random(-9..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "d1", "description": ""}, "s2": {"definition": "random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "s2", "description": ""}, "s7": {"definition": "1", "templateType": "anything", "group": "Ungrouped variables", "name": "s7", "description": ""}, "s6": {"definition": "-1", "templateType": "anything", "group": "Ungrouped variables", "name": "s6", "description": ""}, "m4": {"definition": "2", "templateType": "anything", "group": "Ungrouped variables", "name": "m4", "description": ""}, "m3": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "m3", "description": ""}, "m2": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "m2", "description": ""}, "tol": {"definition": "0.01", "templateType": "anything", "group": "Ungrouped variables", "name": "tol", "description": ""}, "a1": {"definition": "random(1..7)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "tans4": {"definition": "(e^(p)*(p^2-2*p+2)-2)/(n4^3)", "templateType": "anything", "group": "Ungrouped variables", "name": "tans4", "description": ""}, "c1": {"definition": "t*random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "tans1": {"definition": "a1^2*(b1^5-1)/5+a1*c1*(b1^4-1)/2+(2*a1*d1+c1^2)*(b1^3-1)/3+c1*d1*(b1^2-1)+d1^2*(b1-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "tans1", "description": ""}, "tans3": {"definition": "if(w=0,((-1)^(m3)-1)/m3^2,-pi*(-1)^(m3)/m3)", "templateType": "anything", "group": "Ungrouped variables", "name": "tans3", "description": ""}, "tol1": {"definition": "0.0001", "templateType": "anything", "group": "Ungrouped variables", "name": "tol1", "description": ""}, "p": {"definition": "n4*b4", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "t": {"definition": "random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}, "w": {"definition": "random(0,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "w", "description": ""}, "n4": {"definition": "s6*random(1,2,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "n4", "description": ""}}, "metadata": {"description": "

Evaluate $\\int_1^{\\,m}(ax ^ 2 + b x + c)^2\\;dx$, $\\int_0^{p}\\frac{1}{x+d}\\;dx,\\;\\int_0^\\pi x \\sin(qx) \\;dx$, $\\int_0^{r}x ^ {2}e^{t x}\\;dx$

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Julie's copy of Integration 04: Exponential Functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "rulesets": {}, "preamble": {"css": "", "js": ""}, "metadata": {"description": "

5 indefinite integrals containing exponential functions

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "tags": ["rebelmaths"], "variables": {"a2": {"description": "", "definition": "random(2..10 except a1 except 0)", "name": "a2", "group": "Ungrouped variables", "templateType": "anything"}, "a3": {"description": "", "definition": "random(-10..10 except 0 except 1 except -1)", "name": "a3", "group": "Ungrouped variables", "templateType": "anything"}, "a1": {"description": "", "definition": "random(2..10)", "name": "a1", "group": "Ungrouped variables", "templateType": "anything"}, "a5": {"description": "", "definition": "random(2..10)", "name": "a5", "group": "Ungrouped variables", "templateType": "anything"}, "a4": {"description": "", "definition": "random(-10..10 except 0 except 1 except -1)", "name": "a4", "group": "Ungrouped variables", "templateType": "anything"}}, "parts": [{"prompt": "

Integrate $f(x)=e^{\\var{a1}x}$ with respect to $x$. 

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

Integrate $f(x)=\\var{a1}e^{\\var{a2}x}$ with respect to $x$. 

", "checkingaccuracy": 0.001, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showpreview": true, "answersimplification": "all", "showCorrectAnswer": true, "answer": "{a1}/{a2}exp({a2}x)+c", "scripts": {}, "showFeedbackIcon": true, "vsetrange": [0, 1], "vsetrangepoints": 5, "marks": 1, "checkingtype": "absdiff", "type": "jme", "expectedvariablenames": [], "checkvariablenames": false}, {"prompt": "

Integrate $f(x)=\\var{a3}\\exp(\\var{a4}x)+\\var{a1}\\exp(\\var{a5}x)$ with respect to $x$. 

", "checkingaccuracy": 0.001, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showpreview": true, "answersimplification": "all", "showCorrectAnswer": true, "answer": "{a3}/{a4}exp({a4}x)+{a1}/{a5}exp({a5}x)+c", "scripts": {}, "showFeedbackIcon": true, "vsetrange": [0, 1], "vsetrangepoints": 5, "marks": 1, "checkingtype": "absdiff", "type": "jme", "expectedvariablenames": [], "checkvariablenames": false}, {"prompt": "

Integrate $f(x)=\\dfrac{2}{\\var{a5}}\\exp(\\var{a1}x)+\\dfrac{1}{\\var{a3}}\\exp(\\var{a4}x)$ with respect to $x$. 

", "checkingaccuracy": 0.001, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showpreview": true, "answersimplification": "all", "showCorrectAnswer": true, "answer": "2/({a1}*{a5})exp({a1}x)+1/({a4}*{a3})exp({a4}x)+c", "scripts": {}, "showFeedbackIcon": true, "vsetrange": [0, 1], "vsetrangepoints": 5, "marks": 1, "checkingtype": "absdiff", "type": "jme", "expectedvariablenames": [], "checkvariablenames": false}], "variable_groups": [], "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4"], "advice": "

The basic results are 

\n

$\\int(e^{x})dx=e^{x}+c$ or $\\int\\exp({x})dx=\\exp({x})+c$
     

\n

$\\int(e^{kx})dx=\\dfrac{1}{k}e^{kx}+c$ or $\\int\\exp({kx})dx=\\dfrac{1}{k}\\exp({kx})+c$

\n

Don't forget the constant!

", "statement": "

The basic results are 

\n

$\\int(e^{x})dx=e^{x}+c$ or $\\int\\exp({x})dx=\\exp({x})+c$
     

\n

$\\int(e^{kx})dx=\\dfrac{1}{k}e^{kx}+c$ or $\\int\\exp({kx})dx=\\dfrac{1}{k}\\exp({kx})+c$

\n

Don't forget the constant!

", "type": "question"}, {"name": "Question 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "TEAME UCC", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/351/"}], "functions": {}, "ungrouped_variables": ["a", "c", "b", "d", "s1", "m", "n", "r"], "tags": ["Calculus", "calculus", "constant of integration", "indefinite integration", "integrals", "integrating fractional powers", "integrating powers", "integration", "rebelmaths", "standard integrals", "Steps", "steps"], "advice": "\n\t \n\t \n\t

Using
\\[\\int \\;x^n\\;dx=\\frac{x^{n+1}}{n+1}+C\\] for any number $n \\neq -1$ we have
\\[\\begin{eqnarray*}\n\t \n\t \\simplify[std]{Int({c}*x^{m}+{d}*x ^ ({b} / {n}),x)} &=&\\simplify[std]{ ({c} / {m + 1}) * x ^ {m + 1} +{d}* x ^ ({b} / {n} + 1) / ({b} / {n} + 1) + C }\\\\\n\t \n\t &=&\\simplify[std]{ ({c} / {m + 1}) * x ^ {m + 1} + ({d*n} / {b + n}) * x ^ ({b + n} / {n}) + C}\n\t \n\t \\end{eqnarray*}\\]

\n\t \n\t \n\t \n\t", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"], "surdf": [{"pattern": "a/sqrt(b)", "result": "(sqrt(b)*a)/b"}]}, "parts": [{"stepsPenalty": 0, "prompt": "\n\t\t\t

$\\simplify[std]{f(x) = {c}x ^ {m} + {d}*x^({b}/{n})}$

\n\t\t\t

$\\displaystyle \\int\\;f(x)\\,dx=\\;$[[0]]

\n\t\t\t

Input all numbers as integers or fractions and not decimals. Remember to include the constant of integration $C$.

\n\t\t\t

Click on Show steps to get more information. You will not lose any marks by doing so.

\n\t\t\t \n\t\t\t", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"notallowed": {"message": "

Input all numbers as integers or fractions and not decimals.

", "showStrings": false, "strings": ["."], "partialCredit": 0}, "variableReplacements": [], "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "({c}/{m+1})x ^ {m+1} + ({d*n}/{b+n})*x^({n+b}/{n})+C", "marks": 3, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [1, 2]}], "steps": [{"prompt": "

The indefinite integral of a power $x^n$ where $n\\neq -1$ is \\[\\int \\;x^n\\;dx=\\frac{x^{n+1}}{n+1}+C\\]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "statement": "\n\t

Integrate the following function $f(x)$.

\n\t


Input the constant of integration as $C$.

\n\t \n\t", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "s1*random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "s1": {"definition": "random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "s1", "description": ""}, "m": {"definition": "random(3..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "n": {"definition": "a*b+r", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "r": {"definition": "random(1..b-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}}, "metadata": {"description": "

\n

indefinite integration

\n

Find $\\displaystyle \\int ax ^ m+ bx^{c/n}\\;dx$.

\n

rebel

\n

rebelmaths

\n

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "feedback": {"showanswerstate": true, "allowrevealanswer": true, "intro": "", "feedbackmessages": [], "advicethreshold": 0, "showactualmark": true, "showtotalmark": true}, "type": "exam", "contributors": [{"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}], "extensions": [], "custom_part_types": [], "resources": []}