// Numbas version: exam_results_page_options {"name": "Integration", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Integration", "tags": [], "metadata": {"description": "

Definite integation of basic functions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Make sure your calculator is in radians for this question.

\n

", "advice": "

(a) and (b):

\n

\\[\\int_\\var{d-2}^\\var{d}\\simplify[all]{{a}*x-sin({b}*x)}\\,dx=\\left[\\simplify{{a}*x^2/2+cos({b}*x)/{b}}\\right]_\\var{d-2}^\\var{d}=\\var{a1}\\]

\n

(c) and (d):

\n

\\[\\int_\\var{d}^\\var{d+3}\\simplify[all]{{c}/x^{a+1}+{b}*sqrt(x)}\\,dx=\\left[\\simplify{{-c/a}/x^{a}+{2*b/3}*x^(3/2)}\\right]_\\var{d}^\\var{d+3}=\\var{a2}\\]

\n

(e) and (f):

\n

\\[\\int_{-2}^\\var{a-2}\\simplify[all]{{c+1}*exp(x/{b})-{a}}\\,dx=\\left[\\simplify{{b*(c+1)}*exp(x/{b})-{a}*x}\\right]_{-2}^\\var{a-2}=\\var{a3}\\]

\n

(g) and (h):

\n

\\[\\int_\\var{b}^\\var{b+a}\\simplify[all]{{c}/({b}*x)+{b}/{a+1}*cos({c}*x)}\\,dx=\\left[\\simplify{{c}/{b}*ln(x)+{b}/{c*(a+1)}*sin({c}*x)}\\right]_\\var{b}^\\var{b+a}=\\var{a4}\\]

\n

(i) and (j):

\n

\\[\\int_\\var{a}^\\var{a+1}\\simplify[all]{x^{b-1}/{b+2}-{d}+{c}*exp({-a}*x)}\\,dx=\\left[\\simplify{x^{b}/{b*(b+2)}-{d}*x-{c/a}*exp({-a}*x)}\\right]_\\var{a}^\\var{a+1}=\\var{a5}\\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a2": {"name": "a2", "group": "Ungrouped variables", "definition": "-c/(a*(d+3)^a)+(2*b/3)*(d+3)^(3/2)+c/(a*d^a)-(2*b/3)*d^(3/2)", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "b*(c+1)*exp((a-2)/b)-a*(a-2)-b*(c+1)*exp(-2/b)-2*a", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-5..5 except [-1,0])", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "a*d^2/2+cos(b*d)/b-a*(d-2)^2/2-cos(b*(d-2))/b", "description": "", "templateType": "anything", "can_override": false}, "a5": {"name": "a5", "group": "Ungrouped variables", "definition": "(a+1)^b/(b*(b+2))-d*(a+1)-c/a*exp(-a*(a+1))-a^{b}/(b*(b+2))+d*a+c/a*exp(-a^2)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..8)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "c/b*ln(b+a)+b/(c*(a+1))*sin(c*(b+a))-c/b*ln(b)-b/(c*(a+1))*sin(c*b)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "a1", "a2", "a3", "a4", "a5"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Integrate this expression with respect to x

\n

Don't forget the constant of integration + c

\n

\\[\\int\\simplify[all]{{a}*x-sin({b}*x)}\\,dx\\]

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Remember that

\n


the integral of    $x^n$   is    $x^{n+1} / {n+1}$ ,  and

\n

the integral of    sin$(ax)$   is    $-$cos$(ax) / a$

"}], "alternatives": [{"type": "jme", "useCustomName": true, "customName": "No constant", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "

You have forgotten the constant of integration (condoned on this occasion).

", "useAlternativeFeedback": false, "answer": "{a}*x^2/2+cos({b}*x)/{b}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "answer": "{a}*x^2/2+cos({b}*x)/{b}+c", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "c", "value": ""}, {"name": "x", "value": ""}]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Hence evaluate

\n

\\[\\int_\\var{d-2}^\\var{d}\\simplify[all]{{a}*x-sin({b}*x)}\\,dx\\]

\n

\n

Remember to use radians and give your answer correct to 3 significant figures.

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Example:

\n

The definite intgeral is calculated by substituting $x$ with the values of the limits.
e.g. 

\n

$ \\int_1^4\\ {{x}^4}\\,dx = 4^5 / 5 - 1^4/5=204.6=205$ (3 significant figures)

"}], "minValue": "{a1}", "maxValue": "{a1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}, {"name": "Shaheen Charlwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1809/"}]}]}], "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}, {"name": "Shaheen Charlwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1809/"}]}