// Numbas version: finer_feedback_settings {"name": "Integration: Indefinite integral", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"s1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "name": "s1"}, "r": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..b-1)", "description": "", "name": "r"}, "n": {"templateType": "anything", "group": "Ungrouped variables", "definition": "a*b+r", "description": "", "name": "n"}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "b"}, "c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "s1*random(2..9)", "description": "", "name": "c"}, "d": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "d"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "name": "a"}, "m": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..9)", "description": "", "name": "m"}}, "ungrouped_variables": ["a", "c", "b", "d", "s1", "m", "n", "r"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "name": "Integration: Indefinite integral", "functions": {}, "showQuestionGroupNames": false, "parts": [{"stepsPenalty": 0, "scripts": {}, "gaps": [{"answer": "({c}/{m+1})x ^ {m+1} + ({d*n}/{b+n})*x^({n+b}/{n})+C", "vsetrange": [1, 2], "checkingaccuracy": 0.001, "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"message": "
Input all numbers as integers or fractions and not decimals.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "answersimplification": "std", "marks": 3, "vsetrangepoints": 5}], "type": "gapfill", "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\tInput all numbers as integers or fractions and not decimals. Remember to include the constant of integration $C$.
\n\t\t\tClick on Show steps to get more information. You will not lose any marks by doing so.
\n\t\t\t", "steps": [{"type": "information", "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\\]
", "showCorrectAnswer": true, "scripts": {}, "marks": 0}], "showCorrectAnswer": true, "marks": 0}], "statement": "\n\tIntegrate the following function $f(x)$.
\n\t
Input the constant of integration as $C$.
2/08/2012:
\n\t\tAdded tags.
\n\t\tAdded description.
\n\t\tChecked calculation. OK.
\n\t\tAdded decimal point to forbidden strings along with message to user re input of numbers.
\n\t\tMessage about Show steps included. Also another message about including the constant of integration.
\n\t\tChanged checking range from 0 to 1 to 1 to 2.
\n\t\tImproved display.
\n\t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "Find $\\displaystyle \\int ax ^ m+ bx^{c/n}\\;dx$.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "\n\t \n\t \n\tUsing
\\[\\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*}\\]