// Numbas version: finer_feedback_settings {"name": "Luis's copy of Evaluate double integrals with numerical limits,", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"h": {"templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": "", "definition": "random(1..4)"}, "d": {"templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": "", "definition": "random(1..3)"}, "g": {"templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": "", "definition": "random(1..2)"}, "f": {"templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": "", "definition": "random(1..4)"}, "c": {"templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": "", "definition": "random(1..9)"}, "b": {"templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": "", "definition": "random(1..4)"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": "", "definition": "random(2..4)"}}, "advice": "

(a) We proceed to evaluate the double-integral:

\n

\\[\\begin{eqnarray*} I&=&\\int^\\var{a}_1 \\int^\\var{b}_0 \\left(\\var{c}+\\simplify[std]{{4*d}xy} \\right)  dx  dy \\\\ &=& \\int^\\var{a}_1 \\left[\\simplify[std]{{c}x+{2*d}*y*x^2} \\right]^\\var{b}_0  dy \\\\ &=&\\int^\\var{a}_1 \\left(\\simplify[std]{{c*b}+{2*d*b^2}*y} \\right)  dy \\\\ &=& \\left[\\simplify[std]{{c*b}y+{d*b^2}*y^2} \\right]^\\var{a}_1  dy \\\\ &=&\\simplify[std]{{c*b*a}+{d*b^2*a^2}-{c*b}-{d*b^2}} \\\\ &=&\\simplify[std]{{(c*b*a)+(d*b^2*a^2)-(c*b)-(d*b^2)}}\\end{eqnarray*}\\]

\n

(b) \\[\\begin{eqnarray*} I&=&\\int^\\pi_0 \\int^\\var{h}_0 \\simplify[std]{y^{f}sin({g}x)} dy  dx \\\\ &=& \\int^\\pi_0 \\left[\\simplify[std]{(1/{f+1})*y^{f+1}*sin({g}x)}\\right]^\\var{h}_0 dx \\\\ &=& \\int^\\pi_0 \\simplify[std]{({h}^{f+1}/{f+1})*sin({g}x)}  dx  \\\\ &=& \\simplify[std]{({h}^{f+1}/{f+1})}\\left[\\simplify[std]{-1/{g}*cos({g}x)}\\right]^\\pi_0  \\\\ &=& -\\simplify[std]{({h}^{f+1}/{g*(f+1)})} \\left(\\simplify[std]{{(-1)^g}}-1 \\right) \\\\ &=& \\simplify[fractionnumbers]{{-{h}^({f+1})*((-1)^{g}-1)/({g*(f+1)})}}\\end{eqnarray*}\\]

", "parts": [{"scripts": {}, "prompt": "

\\[I=\\int^\\var{a}_{y=1} \\int^\\var{b}_{x=0} \\left(\\var{c}+\\simplify[std]{{4*d}xy} \\right)  dx\\,  dy \\]

\n

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

", "showCorrectAnswer": true, "type": "gapfill", "gaps": [{"scripts": {}, "checkingtype": "absdiff", "answer": "{c*b*(a-1)+(4*d*b*b/4)*(a*a-1)}", "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"showStrings": false, "partialCredit": 0, "strings": ["."], "message": "

Input all numbers in your answer as integers or fractions, not as decimals.

"}, "marks": 4, "vsetrangepoints": 5, "checkingaccuracy": 0.001, "answersimplification": "std", "showpreview": true, "type": "jme", "vsetrange": [0, 1], "checkvariablenames": false}], "marks": 0}, {"scripts": {}, "prompt": "

\\[I=\\int^\\pi_{x=0} \\int^\\var{h}_{y=0} \\simplify[std]{y^{f}sin({g}x)} dy \\, dx \\]

\n

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

", "showCorrectAnswer": true, "type": "gapfill", "gaps": [{"scripts": {}, "checkingtype": "absdiff", "answer": "{-h^(f+1)*((-1)^g-1)/(g*(f+1))}", "showCorrectAnswer": true, "expectedvariablenames": [], "marks": 4, "vsetrangepoints": 5, "checkingaccuracy": 0.001, "checkvariablenames": false, "showpreview": true, "type": "jme", "vsetrange": [0, 1], "answersimplification": "fractionnumbers"}], "marks": 0}], "question_groups": [{"pickingStrategy": "all-ordered", "name": "", "questions": [], "pickQuestions": 0}], "variable_groups": [], "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "functions": {}, "name": "Luis's copy of Evaluate double integrals with numerical limits,", "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "c", "b", "d", "g", "f", "h"], "showQuestionGroupNames": false, "type": "question", "tags": ["Calculus", "calculus", "checked2015", "double integral", "MAS1603", "MAS2104", "tested1"], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

Evaluate the following double integrals.

\n

Input your answer as an integer or a fraction, not as a decimal.

", "metadata": {"notes": "

30/06/2012:

\n

Added tags.

\n

Minor change to prompt.

\n

19/07/2012:

\n

Added description.

\n

Did not add Show steps.

\n

Checked calculation.

\n

23/07/2012:

\n

Added tags.

\n

22/12/2012:(WHF)

\n

Corrected mistake in last part, the upper limit in the integral was set as the value of a which was the upper limit in the first part, but it should have been the value of h.

\n

Checked calculations, OK. Added tested1 tag.

\n

 

\n

 

\n

 

\n

 

\n

Question appears to be working correctly.

\n

 

", "description": "

Double integrals (2) with numerical limits

", "licence": "Creative Commons Attribution 4.0 International"}, "contributors": [{"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": "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/"}]}