// Numbas version: exam_results_page_options {"name": "CA2 Block 1 Q4 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.
", "advice": "Indefinite Integrals
", "extensions": [], "metadata": {"description": "Simple Indefinite Integrals
\n", "licence": "Creative Commons Attribution 4.0 International"}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "functions": {}, "rulesets": {}, "parts": [{"type": "jme", "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "showFeedbackIcon": true, "checkingType": "absdiff", "customMarkingAlgorithm": "malrules:\n [\n [\"q^4/4+2/3q^(3/2)\", \"Don't forget to include the constant of integration!\",0.9],\n [\"q^4/4+q^(1/2)\", \"Check the second term again. Note that $\\\\sqrt{q}=q^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"q^4/4+q^(1/2)+C\", \"Check the second term again. Note that $\\\\sqrt{q}=q^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"q^4/4+2*q^(1/2)+C\", \"Check the second term again. Note that $\\\\sqrt{q}=q^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"q^4/4+2*q^(1/2)\", \"Check the second term again. Note that $\\\\sqrt{q}=q^{\\\\frac{1}{2}}$ but this has not actually been integrated.\",0],\n [\"q^4/4+3/2*q^(3/2)+C\", \"Almost there! Check the second term again. It looks like you have multiplied by the new power.\",0],\n [\"q^4/4+3/2*q^(3/2)\", \"Almost there! Check the second term again. It looks like you have multiplied by the new power.\",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 )))