// Numbas version: exam_results_page_options {"name": "Geometric series 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "ungrouped_variables": ["t1", "tr", "tsum", "r"], "advice": "

To find common ratio, simply divide one term by its predecessor.

\n

To find the $n$th term, multiply the first term a by the common ratio r to the power of n-1, ie ${a}{r^{n-1}}$

\n

Formula for the sum of the first $n$ terms is  \"sum, where $r$ is the common ratio and $a$ is the first term

\n

Formula for the infinite sum, providing $| r |<1$, is \"sum, C

", "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"prompt": "

Find the $\\var{tr}$th term

", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "type": "numberentry", "showFeedbackIcon": true, "useCustomName": false, "minValue": "{t1}*(({r})^{{tr}-1})", "showCorrectAnswer": true, "marks": 1, "showFractionHint": true, "mustBeReducedPC": 0, "maxValue": "{t1}*(({r})^{{tr}-1})", "customName": "", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "allowFractions": true, "variableReplacements": [], "unitTests": [], "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true, "mustBeReduced": false}, {"prompt": "

Find the $n$th term

", "variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": 1, "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "n"}], "customName": "", "answer": "{t1}*(({r})^(n-1))", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all,fractionnumbers"}, {"prompt": "

Find the sum of the first $\\var{tsum}$ terms

", "variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": 1, "checkVariableNames": false, "valuegenerators": [], "customName": "", "answer": "{t1}(1-({r})^{tsum})/((1-{r}))", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1}], "tags": [], "statement": "

For the geometric series:

\n

$\\var{t1}$+$\\simplify{{t1}*{r}}$+$\\simplify{{t1}*{{r}^2}}$+$\\simplify{{t1}*{{r}^3}}$+...

\n

", "variables": {"t1": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "tr", "name": "t1"}, "tsum": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(4..10)", "name": "tsum"}, "tr": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(4..10)", "name": "tr"}, "r": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(-4..4 except [1,0,-1])", "name": "r"}}, "rulesets": {}, "functions": {}, "extensions": [], "name": "Geometric series 1", "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}