// Numbas version: exam_results_page_options {"name": "Nick's copy of Morten's copy of Integration: Definite Integration", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Evaluate $\\int_0^{\\,m}e^{ax}\\;dx$, $\\int_0^{p}\\frac{1}{bx+d}\\;dx,\\;\\int_0^{\\pi/2} \\sin(qx) \\;dx$. 

", "notes": "\n \t\t

3/07/1012:

\n \t\t

Added tags.

\n \t\t

Checked calculations.

\n \t\t

Left tolerances in, as easy to make minor errors in calculations.

\n \t\t

Improved display in Advice.

\n \t\t

Some superscripts e.g. the form a^\\var{b} in latex have to be written as a^{\\var{b}} as not displayed properly (if b has a second digit it slips down). Corrected.

\n \t\t

20/07/2012:

\n \t\t

Set new tolerace variables, tol=0.01, tol1=0.0001.

\n \t\t

Can have expressions in Advice of the form $1\\times E$ where E is an expression. This can be remedied by rewriting - but later as not crucial.

\n \t\t

Added description.

\n \t\t

\n \t\t

25/07/2012:

\n \t\t

 

\n \t\t

Added tags.

\n \t\t

A lot of work in this question - Perhaps it would be more managable broken down into two separate questions?

\n \t\t

 

\n \t\t

Question appears to be working correctly.

\n \t\t

 

\n \t\t

 

\n \t\t"}, "statement": "

Evaluate the following definite integrals.

", "type": "question", "preamble": {"js": "", "css": ""}, "showQuestionGroupNames": false, "tags": ["Calculus", "calculus", "checked2015", "definite integration", "integration", "integration by parts", "integration by parts twice", "MAS1601", "mas1601"], "variable_groups": [], "parts": [{"type": "gapfill", "gaps": [{"type": "numberentry", "allowFractions": false, "showPrecisionHint": false, "maxValue": "ans1+tol", "minValue": "ans1-tol", "showCorrectAnswer": true, "scripts": {}, "marks": 1, "correctAnswerFraction": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

\\[I=\\int_0^{\\var{b1}}\\simplify[std]{e^({a}x)}\\;dx\\]

\n

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

\n

Input your answer to 3 decimal places.

"}, {"type": "gapfill", "gaps": [{"type": "numberentry", "allowFractions": false, "showPrecisionHint": false, "maxValue": "ans2+tol", "minValue": "ans2-tol", "showCorrectAnswer": true, "scripts": {}, "marks": 1, "correctAnswerFraction": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

\\[I=\\int_0^{\\var{b2}}\\simplify[std]{1/({b}x+{m2})}\\;dx\\]

\n

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

\n

Input your answer to 3 decimal places.

"}, {"type": "gapfill", "gaps": [{"type": "numberentry", "allowFractions": false, "showPrecisionHint": false, "maxValue": "ans3+tol", "minValue": "ans3-tol", "showCorrectAnswer": true, "scripts": {}, "marks": 1, "correctAnswerFraction": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

\\[I=\\int_0^{\\pi/2}\\simplify[std]{({w} * Sin({m3} * x) + {1 -w} * Cos({m3} * x))}\\;dx\\]

\n

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

\n

Input your answer to 3 decimal places.

"}], "name": "Nick's copy of Morten's copy of Integration: Definite Integration", "question_groups": [{"pickQuestions": 0, "pickingStrategy": "all-ordered", "name": "", "questions": []}], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "ungrouped_variables": ["a", "b", "m3", "s2", "ans2", "ans3", "b2", "ans1", "tol", "b1", "w", "m2", "c1", "d1", "tans1", "tol1", "tans3", "t"], "advice": "

 

\n

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

\n

 

", "variables": {"tol1": {"group": "Ungrouped variables", "definition": "0.0001", "templateType": "anything", "description": "", "name": "tol1"}, "ans1": {"group": "Ungrouped variables", "definition": "precround(tans1,3)", "templateType": "anything", "description": "", "name": "ans1"}, "d1": {"group": "Ungrouped variables", "definition": "random(-9..9)", "templateType": "anything", "description": "", "name": "d1"}, "c1": {"group": "Ungrouped variables", "definition": "t*random(1..9)", "templateType": "anything", "description": "", "name": "c1"}, "ans2": {"group": "Ungrouped variables", "definition": "precround(1/b*(ln(1+b*b2/m2)),3)", "templateType": "anything", "description": "", "name": "ans2"}, "ans3": {"group": "Ungrouped variables", "definition": "precround(tans3,3)", "templateType": "anything", "description": "", "name": "ans3"}, "tol": {"group": "Ungrouped variables", "definition": "0.001", "templateType": "anything", "description": "", "name": "tol"}, "a": {"group": "Ungrouped variables", "definition": "random(-2..2#0.5 except 0)", "templateType": "anything", "description": "", "name": "a"}, "tans1": {"group": "Ungrouped variables", "definition": "(1/a)*(e^(a*b1)-1)", "templateType": "anything", "description": "", "name": "tans1"}, "t": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "description": "", "name": "t"}, "s2": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "description": "", "name": "s2"}, "b": {"group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything", "description": "", "name": "b"}, "b2": {"group": "Ungrouped variables", "definition": "random(1..20)", "templateType": "anything", "description": "", "name": "b2"}, "m2": {"group": "Ungrouped variables", "definition": "random(1..9)", "templateType": "anything", "description": "", "name": "m2"}, "w": {"group": "Ungrouped variables", "definition": "random(0,1)", "templateType": "anything", "description": "", "name": "w"}, "b1": {"group": "Ungrouped variables", "definition": "random(-1..2#0.5 except 0)", "templateType": "anything", "description": "", "name": "b1"}, "tans3": {"group": "Ungrouped variables", "definition": "1/m3*((1-w)*sin(m3*pi/2)-w*(cos(m3*pi/2)-1))", "templateType": "anything", "description": "", "name": "tans3"}, "m3": {"group": "Ungrouped variables", "definition": "random(2..9)", "templateType": "anything", "description": "", "name": "m3"}}, "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}]}]}], "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}]}