// Numbas version: finer_feedback_settings {"name": "Evan's copy of Evan's copy of 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": "Evan's copy of Evan's copy of Geometric series 2", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
\nanswers: infinite sum is
\nTo find common ratio, simply divide one term by its predecessor.
\n\nTo 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}}$
\nFormula for the sum of the first $n$ terms is where $r$ is the common ratio and $a$ is the first term
\nFormula for the infinite sum, providing $| r |<1$, is C
\n", "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 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 exact 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"}], "extensions": [], "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(5..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "tr", "description": ""}, "t1": {"definition": "td*random(10..100)", "templateType": "anything", "group": "Ungrouped variables", "name": "t1", "description": ""}}, "metadata": {"description": "Edited question from user joshua boddy.
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Evan Weinberg", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/884/"}]}]}], "contributors": [{"name": "Evan Weinberg", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/884/"}]}