// Numbas version: exam_results_page_options {"name": "Simon's copy of Julie's copy of Definite integration 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Simon's copy of Julie's copy of Definite integration 1", "preamble": {"js": "", "css": ""}, "variable_groups": [], "variables": {"ans2": {"templateType": "anything", "name": "ans2", "definition": "precround(ln(1+b2/m2),2)", "description": "", "group": "Ungrouped variables"}, "ans1": {"templateType": "anything", "name": "ans1", "definition": "precround(tans1,2)", "description": "", "group": "Ungrouped variables"}, "s6": {"templateType": "anything", "name": "s6", "definition": "-1", "description": "", "group": "Ungrouped variables"}, "s2": {"templateType": "anything", "name": "s2", "definition": "random(1,-1)", "description": "", "group": "Ungrouped variables"}, "tol1": {"templateType": "anything", "name": "tol1", "definition": "0.0001", "description": "", "group": "Ungrouped variables"}, "t": {"templateType": "anything", "name": "t", "definition": "random(1,-1)", "description": "", "group": "Ungrouped variables"}, "m3": {"templateType": "anything", "name": "m3", "definition": "random(2..9)", "description": "", "group": "Ungrouped variables"}, "m2": {"templateType": "anything", "name": "m2", "definition": "random(1..9)", "description": "", "group": "Ungrouped variables"}, "a1": {"templateType": "anything", "name": "a1", "definition": "random(1..7)", "description": "", "group": "Ungrouped variables"}, "tans1": {"templateType": "anything", "name": "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)", "description": "", "group": "Ungrouped variables"}, "tans3": {"templateType": "anything", "name": "tans3", "definition": "if(w=0,((-1)^(m3)-1)/m3^2,-pi*(-1)^(m3)/m3)", "description": "", "group": "Ungrouped variables"}, "b2": {"templateType": "anything", "name": "b2", "definition": "random(1..20)", "description": "", "group": "Ungrouped variables"}, "b4": {"templateType": "anything", "name": "b4", "definition": "s7*random(1,2,3)", "description": "", "group": "Ungrouped variables"}, "m4": {"templateType": "anything", "name": "m4", "definition": "2", "description": "", "group": "Ungrouped variables"}, "s7": {"templateType": "anything", "name": "s7", "definition": "1", "description": "", "group": "Ungrouped variables"}, "c1": {"templateType": "anything", "name": "c1", "definition": "t*random(1..9)", "description": "", "group": "Ungrouped variables"}, "tol": {"templateType": "anything", "name": "tol", "definition": "0.01", "description": "", "group": "Ungrouped variables"}, "b1": {"templateType": "anything", "name": "b1", "definition": "random(2..6)", "description": "", "group": "Ungrouped variables"}, "d1": {"templateType": "anything", "name": "d1", "definition": "random(-9..9)", "description": "", "group": "Ungrouped variables"}, "w": {"templateType": "anything", "name": "w", "definition": "random(0,1)", "description": "", "group": "Ungrouped variables"}, "ans3": {"templateType": "anything", "name": "ans3", "definition": "precround(tans3,2)", "description": "", "group": "Ungrouped variables"}, "ans4": {"templateType": "anything", "name": "ans4", "definition": "precround(tans4,4)", "description": "", "group": "Ungrouped variables"}, "n4": {"templateType": "anything", "name": "n4", "definition": "s6*random(1,2,3)", "description": "", "group": "Ungrouped variables"}, "tans4": {"templateType": "anything", "name": "tans4", "definition": "(e^(p)*(p^2-2*p+2)-2)/(n4^3)", "description": "", "group": "Ungrouped variables"}, "p": {"templateType": "anything", "name": "p", "definition": "n4*b4", "description": "", "group": "Ungrouped variables"}}, "statement": "
Evaluate the following definite integral.
", "parts": [{"customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "marks": 0, "scripts": {}, "type": "gapfill", "gaps": [{"allowFractions": false, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "marks": 4, "scripts": {}, "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "ans1+tol", "mustBeReduced": false, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "unitTests": [], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReducedPC": 0, "minValue": "ans1-tol"}], "showCorrectAnswer": true, "showFeedbackIcon": true, "unitTests": [], "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "\n\\[I=\\int_1^{\\var{b1}}\\simplify[std]{({a1} * x ^ 2 + {c1} * x + {d1})^2}\\;dx\\]
\n$I=\\;\\;$[[0]]
\nInput your answer to 2 decimal places.
\n \n"}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "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$
\nrebelmaths
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "tags": [], "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"], "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "functions": {}, "advice": "a)
\\[I=\\int_1^\\var{b1}\\simplify[std]{({a1} * x ^ 2 + {c1} * x + {d1})^2}\\;dx\\]
Expand the parentheses to obtain:
\\[\\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\n", "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}