// Numbas version: exam_results_page_options {"name": "Luis'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": [{"statement": "

Evaluate the following definite integrals.

", "functions": {}, "variables": {"tol1": {"group": "Ungrouped variables", "definition": "0.0001", "templateType": "anything", "description": "", "name": "tol1"}, "tans3": {"group": "Ungrouped variables", "definition": "1/m3*((1-w)*sin(m3*pi/2)-w*(cos(m3*pi/2)-1))", "templateType": "anything", "description": "", "name": "tans3"}, "b1": {"group": "Ungrouped variables", "definition": "random(-1..2#0.5 except 0)", "templateType": "anything", "description": "", "name": "b1"}, "ans2": {"group": "Ungrouped variables", "definition": "precround(1/b*(ln(1+b*b2/m2)),3)", "templateType": "anything", "description": "", "name": "ans2"}, "a": {"group": "Ungrouped variables", "definition": "random(-2..2#0.5 except 0)", "templateType": "anything", "description": "", "name": "a"}, "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"}, "b2": {"group": "Ungrouped variables", "definition": "random(1..20)", "templateType": "anything", "description": "", "name": "b2"}, "ans3": {"group": "Ungrouped variables", "definition": "precround(tans3,3)", "templateType": "anything", "description": "", "name": "ans3"}, "b": {"group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything", "description": "", "name": "b"}, "w": {"group": "Ungrouped variables", "definition": "random(0,1)", "templateType": "anything", "description": "", "name": "w"}, "s2": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "description": "", "name": "s2"}, "m2": {"group": "Ungrouped variables", "definition": "random(1..9)", "templateType": "anything", "description": "", "name": "m2"}, "t": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "description": "", "name": "t"}, "m3": {"group": "Ungrouped variables", "definition": "random(2..9)", "templateType": "anything", "description": "", "name": "m3"}, "tol": {"group": "Ungrouped variables", "definition": "0.001", "templateType": "anything", "description": "", "name": "tol"}, "tans1": {"group": "Ungrouped variables", "definition": "(1/a)*(e^(a*b1)-1)", "templateType": "anything", "description": "", "name": "tans1"}, "c1": {"group": "Ungrouped variables", "definition": "t*random(1..9)", "templateType": "anything", "description": "", "name": "c1"}}, "name": "Luis's copy of Integration: Definite Integration", "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "b", "m3", "s2", "ans2", "ans3", "b2", "ans1", "tol", "b1", "w", "m2", "c1", "d1", "tans1", "tol1", "tans3", "t"], "metadata": {"description": "

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

\n

No solutions given in Advice to parts a and c.

\n

Tolerance of 0.001 in answers to parts a and b. Perhaps should indicate to the student that a tolerance is set. The feedback on submitting an incorrect answer within the tolerance says that the answer is correct - perhaps there should be a different feedback in this case if possible for all such questions with tolerances.

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"variableReplacements": [], "scripts": {}, "gaps": [{"notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "minValue": "ans1-tol", "type": "numberentry", "mustBeReduced": false, "customMarkingAlgorithm": "", "scripts": {}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "ans1+tol", "correctAnswerStyle": "plain"}], "showCorrectAnswer": true, "prompt": "

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

\n

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

\n

Input your answer to 3 decimal places.

", "showFeedbackIcon": true, "marks": 0, "type": "gapfill", "customMarkingAlgorithm": "", "sortAnswers": false, "unitTests": [], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true}, {"variableReplacements": [], "scripts": {}, "gaps": [{"notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "minValue": "ans2-tol", "type": "numberentry", "mustBeReduced": false, "customMarkingAlgorithm": "", "scripts": {}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "ans2+tol", "correctAnswerStyle": "plain"}], "showCorrectAnswer": true, "prompt": "

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

\n

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

\n

Input your answer to 3 decimal places.

", "showFeedbackIcon": true, "marks": 0, "type": "gapfill", "customMarkingAlgorithm": "", "sortAnswers": false, "unitTests": [], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true}, {"variableReplacements": [], "scripts": {}, "gaps": [{"notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "minValue": "ans3-tol", "type": "numberentry", "mustBeReduced": false, "customMarkingAlgorithm": "", "scripts": {}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "ans3+tol", "correctAnswerStyle": "plain"}], "showCorrectAnswer": true, "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.

", "showFeedbackIcon": true, "marks": 0, "type": "gapfill", "customMarkingAlgorithm": "", "sortAnswers": false, "unitTests": [], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true}], "extensions": [], "variable_groups": [], "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

 

", "tags": ["Calculus", "calculus", "checked2015", "definite integration", "integration"], "type": "question", "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}