// Numbas version: exam_results_page_options {"name": "Integration: Definite Integration using e^x, sin(x), and that leads to ln(x), write in decimals", "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.

\n

\n

", "extensions": [], "ungrouped_variables": ["a", "b", "m3", "s2", "ans2", "ans3", "b2", "ans1", "tol", "b1", "w", "m2", "c1", "d1", "tans1", "tol1", "tans3", "t"], "variablesTest": {"condition": "", "maxRuns": 100}, "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$. 

\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.

"}, "functions": {}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "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

 

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

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

\n

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

\n

Input your answer to 3 decimal places.

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

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

\n

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

\n

Input your answer to 3 decimal places.

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

", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "scripts": {}, "showCorrectAnswer": true, "sortAnswers": false, "marks": 0, "variableReplacements": []}], "variables": {"ans2": {"name": "ans2", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "precround(1/b*(ln(1+b*b2/m2)),3)"}, "m2": {"name": "m2", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)"}, "t": {"name": "t", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "b2": {"name": "b2", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..20)"}, "ans3": {"name": "ans3", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "precround(tans3,3)"}, "c1": {"name": "c1", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "t*random(1..9)"}, "d1": {"name": "d1", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(-9..9)"}, "b1": {"name": "b1", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(-1..2#0.5 except 0)"}, "tans3": {"name": "tans3", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "1/m3*((1-w)*sin(m3*pi/2)-w*(cos(m3*pi/2)-1))"}, "ans1": {"name": "ans1", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "precround(tans1,3)"}, "b": {"name": "b", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..5)"}, "s2": {"name": "s2", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "m3": {"name": "m3", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)"}, "a": {"name": "a", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(-2..2#0.5 except 0)"}, "tol": {"name": "tol", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "0.001"}, "tans1": {"name": "tans1", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "(1/a)*(e^(a*b1)-1)"}, "w": {"name": "w", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(0,1)"}, "tol1": {"name": "tol1", "description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "0.0001"}}, "name": "Integration: Definite Integration using e^x, sin(x), and that leads to ln(x), write in decimals", "variable_groups": [], "tags": [], "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": "Johnny Yi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2810/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}, {"name": "Griff Ware", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3080/"}]}]}], "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": "Johnny Yi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2810/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}, {"name": "Griff Ware", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3080/"}]}