// Numbas version: finer_feedback_settings {"name": "Indefinite Integrals Q1 2019 (custom feedback)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "

Indefinite Integrals

", "functions": {}, "statement": "

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

", "preamble": {"js": "", "css": ""}, "name": "Indefinite Integrals Q1 2019 (custom feedback)", "extensions": [], "parts": [{"showCorrectAnswer": true, "showPreview": true, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "type": "jme", "customMarkingAlgorithm": "malrules:\n [\n [\"x^5/5-{a}*x^4/4+{b}*x^2/2-{c}*x\", \"Don't forget to include the constant of integration.\"], \n [\"4x^3-3*{a}*x^2+{b}+C\", \"It looks like you differentiated rather than integrating.\"],\n [\"4x^3-3*{a}*x^2+{b}\", \"It looks like you differentiated rather than integrating.\"]\n ]\n\n\nparsed_malrules: \n map(\n [\"expr\":parse(x[0]),\"feedback\":x[1]],\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(x^4-\\var{a}x^3+\\var{b}x-\\var{c})\\mathrm{dx}$

", "unitTests": [], "checkVariableNames": false, "marks": 1, "scripts": {}, "answer": "x^5/5-{a}x^4/4+{b}x^2/2-{c}x+C", "extendBaseMarkingAlgorithm": true, "failureRate": 1, "expectedVariableNames": [], "showFeedbackIcon": true, "variableReplacements": [], "checkingAccuracy": 0.001, "vsetRangePoints": 5, "checkingType": "absdiff"}], "ungrouped_variables": ["a", "c", "b", "d", "f"], "variable_groups": [], "variables": {"f": {"name": "f", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1..8 except d)"}, "a": {"name": "a", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "d": {"name": "d", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1..8)"}, "b": {"name": "b", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9 except a)"}, "c": {"name": "c", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1..9 except a except b)"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Simple Indefinite Integrals

\n

"}, "rulesets": {}, "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/"}]}