// Numbas version: exam_results_page_options {"name": "CA2 Block 1 Q3 2019", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

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

", "name": "CA2 Block 1 Q3 2019", "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"f": {"name": "f", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(1..8 except d)"}, "b": {"name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(2..9 except a)"}, "a": {"name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(2..9)"}, "d": {"name": "d", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(1..8)"}, "c": {"name": "c", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(1..9 except a except b)"}}, "preamble": {"js": "", "css": ""}, "extensions": [], "functions": {}, "rulesets": {}, "ungrouped_variables": ["a", "c", "b", "d", "f"], "parts": [{"scripts": {}, "answer": "-2/3*1/x^3+3ln(x)+x+C", "checkingAccuracy": 0.001, "expectedVariableNames": [], "vsetRange": [0, 1], "checkingType": "absdiff", "marks": 1, "showCorrectAnswer": true, "checkVariableNames": false, "customMarkingAlgorithm": "malrules:\n [\n [\"-2/3*1/x^3+3ln(x)+x\",\"Don't forget the constant of integration!\",0.9], \n [\"-2x^(-5)/5+3ln(x)+x+C\", \"Check the first term again. It looks like you have subtracted 1 from the power.\",0],\n [\"-2x^(-5)/5+3ln(x)+x\", \"Check the first term again. It looks like you have subtracted 1 from the power.\",0],\n [\"-2x^(-5)/5+ln(3x)+x+C\", \"The first two terms are incorrect. First term: It looks like you have subtracted 1 from the power. 2nd term: $\\\\frac{3}{x}=3\\\\left(\\\\frac{1}{x}\\\\right)$. What do you get when you integrate $\\\\frac{1}{x}$?\",0],\n [\"-2x^(-5)/5+ln(3x)+x\", \"The first two terms are incorrect. First term: It looks like you have subtracted 1 from the power. 2nd term: $\\\\frac{3}{x}=3\\\\left(\\\\frac{1}{x}\\\\right)$. What do you get when you integrate $\\\\frac{1}{x}$?\",0],\n [\"-2/(3x^3)+ln(3x)+x+C\", \"Check the second term: $\\\\frac{3}{x}=3\\\\left(\\\\frac{1}{x}\\\\right)$. What do you get when you integrate $\\\\frac{1}{x}$?\",0],\n [\"-2/(3x^3)+ln(3x)+x\", \"Check the second term: $\\\\frac{3}{x}=3\\\\left(\\\\frac{1}{x}\\\\right)$. What do you get when you integrate $\\\\frac{1}{x}$?\",0],\n [\"-2/(3x^3)+3+x+C\", \"Check the second term: $\\\\frac{3}{x}=3x^{-1}$. The power rule doesn't work if the power on the $x$ is $-1$, because we would end up getting $\\\\frac{x^0}{0}$ and dividing by zero is not defined.\",0],\n [\"-2/(3x^3)+3+x\", \"Check the second term: $\\\\frac{3}{x}=3x^{-1}$. The power rule doesn't work if the power on the $x$ is $-1$, because we would end up getting $\\\\frac{x^0}{0}$ and dividing by zero is not defined.\",0],\n [\"-2x^(-5)/5+3+x+C\", \"The first two terms are incorrect. First term: It looks like you have subtracted 1 from the power. 2nd term: $\\\\frac{3}{x}=3x^{-1}$. The power rule doesn't work if the power on the $x$ is $-1$, because we would end up getting $\\\\frac{x^0}{0}$ and dividing by zero is not defined.\",0],\n [\"-2x^(-5)/5+3+x\", \"The first two terms are incorrect. First term: It looks like you have subtracted 1 from the power. 2nd term: $\\\\frac{3}{x}=3x^{-1}$. The power rule doesn't work if the power on the $x$ is $-1$, because we would end up getting $\\\\frac{x^0}{0}$ and dividing by zero is not defined.\",0],\n [\"2ln(x^4)+3ln(x)+x\",\"Check the first term again. You can only use the $\\\\ln$ rule if the power on the variable below the line is 1.\",0],\n [\"2ln(x^4)+3ln(x)+x+C\",\"Check the first term again. You can only use the $\\\\ln$ rule if the power on the variable below the line is 1.\",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{2}{x^4}+\\frac{3}{x}+1)\\mathrm{dx}$

", "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "unitTests": [], "showPreview": true}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Simple Indefinite Integrals

\n

"}, "tags": [], "advice": "

Indefinite Integrals

", "variable_groups": [], "type": "question", "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/"}]}]}], "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/"}]}