// Numbas version: finer_feedback_settings {"name": "Luis's copy of Integration: Indefinite integral", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["Calculus", "calculus", "checked2015", "constant of integration", "indefinite integration", "integrating fractional powers", "integrating powers", "integration", "mas1601", "MAS1601", "standard integrals", "Steps", "steps"], "statement": "\n\t

Integrate the following function $f(x)$.

\n\t


Input the constant of integration as $C$.

\n\t", "name": "Luis's copy of Integration: Indefinite integral", "metadata": {"notes": "\n\t\t

2/08/2012:

\n\t\t

Added tags.

\n\t\t

Added description.

\n\t\t

Checked calculation. OK.

\n\t\t

Added decimal point to forbidden strings along with message to user re input of numbers.

\n\t\t

Message about Show steps included. Also another message about including the constant of integration.

\n\t\t

Changed checking range from 0 to 1 to 1 to 2.

\n\t\t

Improved display.

\n\t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "

Find $\\displaystyle \\int ax ^ m+ bx^{c/n}\\;dx$.

"}, "ungrouped_variables": ["a", "c", "b", "d", "s1", "m", "n", "r"], "parts": [{"prompt": "\n\t\t\t

$\\simplify[std]{f(x) = {c}x ^ {m} + {d}*x^({b}/{n})}$

\n\t\t\t

$\\displaystyle \\int\\;f(x)\\,dx=\\;$[[0]]

\n\t\t\t

Input all numbers as integers or fractions and not decimals. Remember to include the constant of integration $C$.

\n\t\t\t

Click on Show steps to get more information. You will not lose any marks by doing so.

\n\t\t\t", "type": "gapfill", "marks": 0, "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "showCorrectAnswer": true, "answer": "({c}/{m+1})x ^ {m+1} + ({d*n}/{b+n})*x^({n+b}/{n})+C", "vsetrange": [1, 2], "answersimplification": "std", "expectedvariablenames": [], "vsetrangepoints": 5, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "notallowed": {"partialCredit": 0, "message": "

Input all numbers as integers or fractions and not decimals.

", "showStrings": false, "strings": ["."]}, "marks": 3, "checkingaccuracy": 0.001, "showpreview": true}], "stepsPenalty": 0, "scripts": {}, "steps": [{"prompt": "

The indefinite integral of a power $x^n$ where $n\\neq -1$ is \\[\\int \\;x^n\\;dx=\\frac{x^{n+1}}{n+1}+C\\]

", "type": "information", "marks": 0, "scripts": {}, "showCorrectAnswer": true}]}], "variables": {"s1": {"definition": "random(1,-1)", "name": "s1", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "r": {"definition": "random(1..b-1)", "name": "r", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c": {"definition": "s1*random(2..9)", "name": "c", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "d": {"definition": "random(2..9)", "name": "d", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "m": {"definition": "random(3..9)", "name": "m", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "random(2..9)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(1..5)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "n": {"definition": "a*b+r", "name": "n", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"], "surdf": [{"result": "(sqrt(b)*a)/b", "pattern": "a/sqrt(b)"}]}, "advice": "\n\t \n\t \n\t

Using
\\[\\int \\;x^n\\;dx=\\frac{x^{n+1}}{n+1}+C\\] for any number $n \\neq -1$ we have
\\[\\begin{eqnarray*}\n\t \n\t \\simplify[std]{Int({c}*x^{m}+{d}*x ^ ({b} / {n}),x)} &=&\\simplify[std]{ ({c} / {m + 1}) * x ^ {m + 1} +{d}* x ^ ({b} / {n} + 1) / ({b} / {n} + 1) + C }\\\\\n\t \n\t &=&\\simplify[std]{ ({c} / {m + 1}) * x ^ {m + 1} + ({d*n} / {b + n}) * x ^ ({b + n} / {n}) + C}\n\t \n\t \\end{eqnarray*}\\]

\n\t \n\t \n\t", "showQuestionGroupNames": false, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "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/"}]}