// Numbas version: exam_results_page_options {"name": "T6Q3 (custom feedback)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "variables": {}, "metadata": {"description": "

Parametric differentiation question with customised feedback to catch some common errors.

", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "parts": [{"scripts": {}, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "unitTests": [], "prompt": "

$\\frac{dy}{dx}=$ [[0]]

", "sortAnswers": false, "showCorrectAnswer": true, "gaps": [{"vsetRangePoints": 5, "scripts": {}, "vsetRange": [0, 1], "customMarkingAlgorithm": "malrules:\n [\n [\"5t^2/6\", \"Double check you have used the right formula for $\\\\frac{dy}{dx}$. In particular what gets divided by what?\"],\n [\"(2t^3-4)/(t^5+7)\", \"You have not differentiated. How is $\\\\frac{dy}{dx}$ calculated in parametric differentiation?\"]\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 )))If $x=t^5+7$ and $y=2t^3-4$, find $\\frac{dy}{dx}$.

", "rulesets": {}, "name": "T6Q3 (custom feedback)", "variable_groups": [], "preamble": {"css": "", "js": ""}, "advice": "", "ungrouped_variables": [], "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question", "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}]}]}], "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}]}