// Numbas version: exam_results_page_options {"name": "Julie's copy of Indefinite integral", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "metadata": {"notes": "\n\t\t \t\t
2/08/2012:
\n\t\t \t\tAdded tags.
\n\t\t \t\tAdded description.
\n\t\t \t\tCorrected mistake in formula for integrating $\\sin(ax)$ in Steps and Advice.
\n\t\t \t\tChecked calculation. OK.
\n\t\t \t\tAdded decimal point to forbidden strings along with message to user re input of numbers.
\n\t\t \t\tMessage about Show steps included. Also another message about including the constant of integration.
\n\t\t \t\tChanged checking range from 0 to 1 to 1 to 2 as we can have negative powers of $x$.
\n\t\t \t\tImproved display of Steps by aligning integral signs.
\n\t\t \n\t\t", "description": "Find $\\displaystyle \\int ae ^ {bx}+ c\\sin(dx) + px ^ {q}\\;dx$.
", "licence": "Creative Commons Attribution 4.0 International"}, "question_groups": [{"questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0, "name": ""}], "parts": [{"type": "gapfill", "steps": [{"marks": 0.0, "type": "information", "prompt": "Note that \\[\\begin{eqnarray*} &\\int& \\;x^n\\;dx&=&\\frac{x^{n+1}}{n+1}+C,\\;\\;n \\neq -1\\\\ &\\int& \\;\\sin(ax)\\;dx &=& -\\frac{1}{a}\\cos(ax)+C\\\\ &\\int& \\;e^{ax}\\;dx &=& \\frac{1}{a}e^{ax}+C\\\\ \\end{eqnarray*}\\]
"}], "stepspenalty": 0.0, "marks": 0.0, "gaps": [{"checkingtype": "absdiff", "vsetrange": [1.0, 2.0], "type": "jme", "checkingaccuracy": 0.001, "answer": "({b}/{a}) * (e ^({a}*x)) + (({(-b1)}/{a1}) * Cos({a1}*x)) + ({a2}/{c3+1}) * (x ^ {(c3 + 1)})+C", "showpreview": true, "notallowed": {"strings": ["."], "partialcredit": 0.0, "showstrings": false, "message": "Input all numbers as integers or fractions and not decimals.
"}, "answersimplification": "std", "marks": 2.0, "vsetrangepoints": 5.0, "checkvariablenames": false, "expectedvariablenames": []}], "prompt": "\n$\\simplify[std]{f(x) = {b} * e ^ ({a}*x) + {b1} * Sin({a1}*x) + {a2} * x ^ {c3}}$
\n$\\displaystyle \\int\\;f(x)\\,dx=\\;$[[0]]
\nInput all numbers as integers or fractions and not decimals. Remember to include the constant of integration $C$.
\nClick on Show steps to get more information. You will not lose any marks by doing so.
\n \n"}], "type": "question", "name": "Julie's copy of Indefinite integral", "progress": "ready", "variables": {"s2": {"name": "s2", "definition": "random(1,-1)"}, "a": {"name": "a", "definition": "s1*random(2..5)"}, "s5": {"name": "s5", "definition": "random(1,-1)"}, "s1": {"name": "s1", "definition": "random(1,-1)"}, "c3": {"name": "c3", "definition": "s5*random(2..8)"}, "b1": {"name": "b1", "definition": "s3*random(2..9)"}, "b": {"name": "b", "definition": "s2*random(2..9)"}, "a1": {"name": "a1", "definition": "random(2..5)"}, "a2": {"name": "a2", "definition": "s4*random(3..9)"}, "s4": {"name": "s4", "definition": "random(1,-1)"}, "s3": {"name": "s3", "definition": "random(1,-1)"}}, "tags": ["Calculus", "Steps", "calculus", "constant of integration", "exponential function", "indefinite integration", "integrals", "integrating powers", "integration", "integration of exponential function", "integration of powers", "integration of trigonometric functions", "standard integrals", "steps", "trigonometric functions"], "advice": "\nNote that \\[\\begin{eqnarray*} &\\int& \\;x^n\\;dx&=&\\frac{x^{n+1}}{n+1}+C,\\;\\;n \\neq -1\\\\ &\\int& \\;\\sin(ax)\\;dx &=& -\\frac{1}{a}\\cos(ax)+C\\\\ &\\int& \\;e^{ax}\\;dx &=& \\frac{1}{a}e^{ax}+C\\\\ \\end{eqnarray*}\\]
\nSplitting the integral into three parts and using the above information we have:
\\[\\begin{eqnarray*}\\simplify[std]{Int({b} * e ^ ({a}*x) + {b1} * Sin({a1}*x) + {a2} * x ^ {c3},x)}&=&\\simplify[std]{Int({b} * e ^ ({a}*x),x)+Int({b1} * Sin({a1}*x),x)+Int({a2} * x ^ {c3},x) }\\\\ &=&\\simplify[std]{({b}/{a}) * (e ^({a}*x)) + (({(-b1)}/{a1}) * Cos({a1}*x)) + ({a2}/{c3+1}) * (x ^ {(c3 + 1)})+C} \\end{eqnarray*}\\]
Integrate the following function $f(x)$.
\n
Input the constant of integration as $C$.