// 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 )))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/"}]}