// Numbas version: finer_feedback_settings {"name": "Modelling 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "statement": "
Suppose that today (year 0) your car is worth $\\var{a}$ euro. Each year your car loses $\\var{b}$% of its value, but at the end of each year, you add
What is the value of the car after 1 year? [[0]]
\nWhat is the value of the car after 2 years? [[1]]
\nWhat is the value of the car after 3 years? [[2]]
\n", "gaps": [{"valuegenerators": [], "scripts": {}, "customMarkingAlgorithm": "", "checkingType": "dp", "useCustomName": false, "showPreview": true, "marks": 1, "checkingAccuracy": "2", "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "answer": "{a}*{1-b/100}+{c}", "unitTests": [], "customName": "", "showCorrectAnswer": true, "vsetRange": [0, 1], "type": "jme", "checkVariableNames": false, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true}, {"valuegenerators": [], "scripts": {}, "customMarkingAlgorithm": "", "checkingType": "dp", "useCustomName": false, "showPreview": true, "marks": 1, "checkingAccuracy": "2", "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "answer": "({a}*{1-b/100}+{c})*{1-b/100}+{c}", "unitTests": [], "customName": "", "showCorrectAnswer": true, "vsetRange": [0, 1], "type": "jme", "checkVariableNames": false, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true}, {"valuegenerators": [], "scripts": {}, "customMarkingAlgorithm": "", "checkingType": "dp", "useCustomName": false, "showPreview": true, "marks": 1, "checkingAccuracy": "2", "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "answer": "(({a}*{1-b/100}+{c})*{1-b/100}+{c})*{1-b/100}+{c}", "unitTests": [], "customName": "", "showCorrectAnswer": true, "vsetRange": [0, 1], "type": "jme", "checkVariableNames": false, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true}], "useCustomName": false, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "variableReplacements": [], "unitTests": []}, {"customName": "", "showCorrectAnswer": true, "scripts": {}, "type": "gapfill", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "marks": 0, "prompt": "Given the following recurrence relation for the value of the car after n years, find A, B and D:
\n\\[C(n)=\\begin{cases} A & if & n=0\\\\ C(n-1) - [C(n-1) \\times B] + D & if & n\\geq1 \\end{cases}\\]
\nA = [[0]], B = [[1]] and D = [[2]].
", "gaps": [{"valuegenerators": [], "scripts": {}, "customMarkingAlgorithm": "", "checkingType": "absdiff", "useCustomName": false, "showPreview": true, "marks": 1, "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "answer": "{a}", "unitTests": [], "customName": "", "showCorrectAnswer": true, "vsetRange": [0, 1], "type": "jme", "checkVariableNames": false, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true}, {"valuegenerators": [], "scripts": {}, "customMarkingAlgorithm": "", "checkingType": "absdiff", "useCustomName": false, "showPreview": true, "marks": 1, "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "answer": "{b}/100", "unitTests": [], "customName": "", "showCorrectAnswer": true, "vsetRange": [0, 1], "type": "jme", "checkVariableNames": false, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true}, {"valuegenerators": [], "scripts": {}, "customMarkingAlgorithm": "", "checkingType": "absdiff", "useCustomName": false, "showPreview": false, "marks": 1, "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "variableReplacements": [], "answer": "{c}", "unitTests": [], "customName": "", "showCorrectAnswer": true, "vsetRange": [0, 1], "type": "jme", "checkVariableNames": false, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true}], "useCustomName": false, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "variableReplacements": [], "unitTests": []}], "preamble": {"js": "", "css": ""}, "type": "question", "contributors": [{"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}]}], "contributors": [{"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}