// Numbas version: finer_feedback_settings {"name": "indefinite integral 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "variable_groups": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Simple Indefinite Integrals

\n

"}, "tags": [], "functions": {}, "name": "indefinite integral 3", "ungrouped_variables": ["a", "c", "b", "d", "f"], "parts": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "checkVariableNames": false, "failureRate": 1, "showFeedbackIcon": true, "vsetRangePoints": 5, "variableReplacements": [], "answer": "1/6x^(3/2)-6/7x^(7/2)+c", "vsetRange": [0, 1], "marks": 1, "checkingAccuracy": 0.001, "checkingType": "absdiff", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "malrules:\n [\n [\"1/6x^(3/2)-6/7x^(7/2)\",\"Don't forget the constant of integration!\",0.9],\n [\"1/6x^(3/2)-2(x^5)^(3/2)+C\", \"Check the second term again. Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/6x^(3/2)-2(x^5)^(3/2)\", \"Check the second term again. Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/4x^(1/2)-2(x^5)^(3/2)\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/4x^(1/2)-2(x^5)^(3/2)+C\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/4x^(1/2)-9/2(x^5)^(3/2)\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/4x^(1/2)-9/2(x^5)^(3/2)+C\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/4x^(1/2)-6/7x^(7/2)\", \"You need to look at the first term again. $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"1/4x^(1/2)-6/7x^(7/2)+C\", \"You need to look at the first term again. $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"1/4x^(1/2)-21/2x^(7/2)\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"1/4x^(1/2)-21/2x^(7/2)+C\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"1/2x^(1/2)-2(x^5)^(3/2)\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/2x^(1/2)-2(x^5)^(3/2)+C\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/2x^(1/2)-9/2(x^5)^(3/2)\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/2x^(1/2)-9/2(x^5)^(3/2)+C\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"1/2x^(1/2)-6/7x^(7/2)\", \"You need to look at the first term again. $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"1/2x^(1/2)-6/7x^(7/2)+C\", \"You need to look at the first term again. $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"1/2x^(1/2)-21/2x^(7/2)\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"1/2x^(1/2)-21/2x^(7/2)+C\", \"You need to look at both terms again. First term: $\\\\sqrt{x}=x^{\\\\frac{1}{2}}$ but this has not actually been integrated. Second term: It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"3/8x^(3/2)-2(x^5)^(3/2)\", \"You need to look at both terms again. First term: It looks like you have multiplied by the new power of $\\\\frac{3}{2}$. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"3/8x^(3/2)-2(x^5)^(3/2)+C\", \"You need to look at both terms again. First term: It looks like you have multiplied by the new power of $\\\\frac{3}{2}$. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"3/8x^(3/2)-9/2(x^5)^(3/2)\", \"You need to look at both terms again. First term: It looks like you have multiplied by the new power of $\\\\frac{3}{2}$. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"3/8x^(3/2)-9/2(x^5)^(3/2)+C\", \"You need to look at both terms again. First term: It looks like you have multiplied by the new power of $\\\\frac{3}{2}$. Second term: Try to write the power on the $x$ as a single power rather than $(x^5)^{\\\\frac{1}{2}}$ before integrating. Remember, if the powers are side by side, multiply them: $\\\\sqrt{x^5}=(x^5)^{\\\\frac{1}{2}}=x^{5 \\\\times \\\\frac{1}{2}}=x^{\\\\frac{5}{2}}$.\",0],\n [\"3/8x^(3/2)-6/7x^(7/2)\", \"You need to look at the first term again. It looks like you have multiplied by the new power of $\\\\frac{3}{2}$.\",0],\n [\"3/8x^(3/2)-6/7x^(7/2)+C\", \"You need to look at the first term again. It looks like you have multiplied by the new power of $\\\\frac{3}{2}$.\",0],\n [\"3/8x^(3/2)-21/2x^(7/2)\", \"You need to look at both terms again. First term: It looks like you have multiplied by the new power of $\\\\frac{3}{2}$. Second term: It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"3/8x^(3/2)-21/2x^(7/2)+C\", \"You need to look at both terms again. First term: It looks like you have multiplied by the new power of $\\\\frac{3}{2}$. Second term: It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"1/6x^(3/2)-21/2x^(7/2)\", \"You need to look at the second term again. It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0],\n [\"1/6x^(3/2)-21/2x^(7/2)+C\", \"You need to look at the second term again. It looks like you have multiplied by the new power of $\\\\frac{7}{2}$...\",0]\n ]\n\n\nparsed_malrules: \n map(\n [\"expr\":parse(x[0]),\"feedback\":x[1],\"credit\":x[2]],\n x,\n malrules\n )\n\nagree_malrules (Do the student's answer and the expected answer agree on each of the sets of variable values?):\n map(\n len(filter(not x ,x,map(\n try(\n resultsEqual(unset(question_definitions,eval(studentexpr,vars)),unset(question_definitions,eval(malrule[\"expr\"],vars)),settings[\"checkingType\"],settings[\"checkingAccuracy\"]),\n message,\n false\n ),\n vars,\n vset\n )))$\\int{(\\frac{1}{4}\\sqrt{x}-3\\sqrt{x^5})}\\mathrm{dx}$

", "expectedVariableNames": [], "showPreview": true, "scripts": {}}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"c": {"description": "", "templateType": "anything", "name": "c", "definition": "random(1..9 except a except b)", "group": "Ungrouped variables"}, "b": {"description": "", "templateType": "anything", "name": "b", "definition": "random(2..9 except a)", "group": "Ungrouped variables"}, "a": {"description": "", "templateType": "anything", "name": "a", "definition": "random(2..9)", "group": "Ungrouped variables"}, "f": {"description": "", "templateType": "anything", "name": "f", "definition": "random(1..8 except d)", "group": "Ungrouped variables"}, "d": {"description": "", "templateType": "anything", "name": "d", "definition": "random(1..8)", "group": "Ungrouped variables"}}, "extensions": [], "type": "question", "preamble": {"js": "", "css": ""}, "advice": "

Indefinite Integrals

", "statement": "

Solve the following indefinite integrals, using $C$ to represent an unknown constant.

", "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}, {"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Jo-Ann Lyons", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2630/"}]}]}], "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}, {"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Jo-Ann Lyons", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2630/"}]}