// Numbas version: exam_results_page_options {"name": "Arithmetic progression: The nth term of a series", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution-NonCommercial 4.0 International", "description": "

Find the nth term of an Arithmetic progression

"}, "advice": "

If the difference between successive pairs of terms is a constant then the series under examination is an arithmetic progression.

\n

Ths first term is \\(a\\) and the common difference is \\(d\\).

\n

The formula for the nth term of the series is given by:    \\(T_n=a+(n-1)d\\)

\n

In this example \\(a=\\var{a}\\),  \\(d = \\var{d}\\)  and  \\(n = \\var{n}\\)

\n

\\(T_\\var{n}=\\var{a}+\\simplify{{n}-1}*\\var{d}\\)

\n

\\(T_\\var{n}=\\var{a}+\\simplify{({n}-1)*{d}}\\)

\n

\\(T_\\var{n}=\\simplify{{a}+({n}-1)*{d}}\\)

", "variable_groups": [], "parts": [{"scripts": {}, "showFeedbackIcon": true, "prompt": "

Calculate the \\(\\var{n}th\\) term of the series.

\n

\\(T_\\var{n}=\\) [[0]]

", "variableReplacements": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"minValue": "{a}+({n}-1)*{d}", "precision": "1", "scripts": {}, "mustBeReduced": false, "correctAnswerStyle": "plain", "showPrecisionHint": true, "allowFractions": false, "precisionPartialCredit": 0, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "precisionMessage": "You have not given your answer to the correct precision.", "precisionType": "dp", "maxValue": "{a}+({n}-1)*{d}", "correctAnswerFraction": false, "variableReplacements": [], "strictPrecision": false, "showFeedbackIcon": true, "type": "numberentry", "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true}], "statement": "

The first three terms of a series are given by:  

\n

\\(\\var{a} + \\simplify{{a}+{d}} + \\simplify{{a}+2*{d}}\\,+ \\, ...........\\)

", "functions": {}, "preamble": {"js": "", "css": ""}, "rulesets": {}, "variables": {"n": {"definition": "random(4..19#1)", "templateType": "randrange", "name": "n", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(1..12#1)", "templateType": "randrange", "name": "a", "group": "Ungrouped variables", "description": ""}, "d": {"definition": "random(2..11#1)", "templateType": "randrange", "name": "d", "group": "Ungrouped variables", "description": ""}}, "extensions": [], "ungrouped_variables": ["a", "d", "n"], "variablesTest": {"condition": "", "maxRuns": 100}, "name": "Arithmetic progression: The nth term of a series", "tags": [], "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}