// Numbas version: finer_feedback_settings {"name": "Arithmetic Sequence nth Term Brunel", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Arithmetic Sequence nth Term Brunel", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

The first term of the sequence is $\\simplify{a}$. The common difference is $\\simplify{d}$.

\n

\n

Therefore, the $n$th term is given by

\n

\\[a_n = \\simplify{{a} + (n-1){d} = {a}-{d}+{d}n}\\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..20)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-8..8 except [0])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "d"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the $n$th term of the following arithmetic sequence:

\n

\\[ \\simplify{{a}} , \\simplify{{a}+{d}} , \\simplify{{a}+2{d}} , \\simplify{{a}+3{d}} , ... \\]

\n

\n

$n$th term = [[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "nth", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a}-{d}+{d}n", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "n", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Chris Knapp", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14987/"}], "resources": []}]}], "contributors": [{"name": "Chris Knapp", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14987/"}]}