// Numbas version: exam_results_page_options {"name": "Deirdre's copy of T6Q11 (custom feedback and partial credit given for mal-rules)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {}, "parts": [{"gaps": [{"showPreview": true, "answer": "2x*e^(x^2)", "marks": 1, "vsetRange": [0, 1], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "checkingAccuracy": 0.001, "unitTests": [], "failureRate": 1, "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "expectedVariableNames": [], "type": "jme", "customMarkingAlgorithm": "malrules:\n [\n [\"x^2*e^(x^2-1)\", \"You cannot use the power rule when there is a variable in the power. What other rule could you use here? Look at page 25 of the log tables if you need to.\", 0.3],\n [\"e^(x^2)\", \"Don't forget to multiply by the derivative of the power. Remember, $\\\\frac{d}{dx} \\\\left( e^x \\\\right) = e^x$ but $\\\\frac{d}{dx} \\\\left( e^{f(x)} \\\\right) = e^{f(x)} \\\\cdot f'(x)$.\", 0.5],\n [\"2x*e^(x^2-1)\", \"Remember, the power on the exponential function never changes when you differentiate.\", 0.7],\n [\"e^(2x)\", \"Remember, the power on the exponential function never changes when you differentiate.\", 0.3]\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 )))$\\frac{dy}{dx}=$ [[0]]

", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "functions": {}, "ungrouped_variables": [], "name": "Deirdre's copy of T6Q11 (custom feedback and partial credit given for mal-rules)", "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"description": "

Differentiation question with customised feedback to catch some common errors and corresponding partial marks.

\n

malrules

\n

", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "advice": "", "extensions": [], "rulesets": {}, "variable_groups": [], "tags": [], "preamble": {"css": "", "js": ""}, "statement": "

If $y=e^{x^2}$, find $\\frac{dy}{dx}$.

", "type": "question", "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}, {"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}]}]}], "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}, {"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}]}