// Numbas version: exam_results_page_options {"name": "Geometric series 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["t1", "tr", "tsum", "td"], "name": "Geometric series 2", "tags": [], "preamble": {"css": "", "js": ""}, "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

", "rulesets": {}, "parts": [{"vsetrangepoints": 5, "prompt": "

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

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all,fractionnumbers", "scripts": {}, "answer": "(-1)^({tr}-1){t1}/(({td})^({tr}-1))", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

Find the $n$th term

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all,fractionnumbers", "scripts": {}, "answer": "(-1)^(n+1){t1}/(({td})^(n-1))", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

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

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{t1}(1-(-1/{td})^{tsum})/(1+(1/{td}))", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

Find the sum to infinity of the series 

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all,fractionnumbers", "scripts": {}, "answer": "{t1}/(1-(-1/{td}))", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "statement": "

For the geometric series:

\n

$\\var{t1} - \\simplify{{t1}/{td}} + \\simplify{{t1}/{td}^2} - \\simplify{{t1}/{td}^3} +...$

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"tsum": {"definition": "random(11..19 except 21 except 22 except 23)", "templateType": "anything", "group": "Ungrouped variables", "name": "tsum", "description": ""}, "td": {"definition": "random(3..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "td", "description": ""}, "tr": {"definition": "random(4..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "tr", "description": ""}, "t1": {"definition": "td*random(10..100)", "templateType": "anything", "group": "Ungrouped variables", "name": "t1", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}]}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}