// Numbas version: exam_results_page_options {"name": "Geometric series 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["td", "t1", "tr", "tsum", "r1", "r2", "r3", "tans"], "name": "Geometric series 3", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

To find common ratio $r$, we know term number $\\var{r2}$ divided by term number $\\var{r1}$ is $r^{\\var{r2}-\\var{r1}}$. It is then easy to find the common ratio.

\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}}$

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

What is term number $\\var{r3}$?

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

In a geometric series, term number $\\var{r1}$ is $\\simplify{{t1}/{td}^{r1}}$ and term number $\\var{r2}$ is $\\simplify{{t1}/{td}^{r2}}$. 

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": "{r2}>{r1}"}, "variables": {"tsum": {"definition": "random(11..29 except 21 except 22 except 23)", "templateType": "anything", "group": "Ungrouped variables", "name": "tsum", "description": ""}, "r1": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "r1", "description": ""}, "r2": {"definition": "random(2..5 except r1)", "templateType": "anything", "group": "Ungrouped variables", "name": "r2", "description": ""}, "r3": {"definition": "r1+r2", "templateType": "anything", "group": "Ungrouped variables", "name": "r3", "description": ""}, "tr": {"definition": "random(4..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "tr", "description": ""}, "t1": {"definition": "(td)^5*random(10..30)", "templateType": "anything", "group": "Ungrouped variables", "name": "t1", "description": ""}, "td": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "td", "description": ""}, "tans": {"definition": "t1/td^r3", "templateType": "anything", "group": "Ungrouped variables", "name": "tans", "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/"}]}