// Numbas version: exam_results_page_options {"name": "Geometric Sequences - First three terms", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Geometric Sequences - First three terms", "tags": [], "metadata": {"description": "From first three terms find common ratio, n for specified u_n  and sum terms.", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

The first three terms of a geometric sequence are $u_1 =$ {u_1},  $u_2 =$ {u_2} and $u_3 =$ {u_3}.

", "advice": "

In part (a) the common ration can be found by dividing a term by the preceding term. Either $\\frac{u_3}{u_2}$ or $\\frac{u_2}{u_1}$

\n

$r = 1 \\div$ {reciprocal_r}

\n

In part (b) use the formula $u_n = u_1r^{n-1}$ and substitute value for $r$ and $u_1$ and set $u_n = 2$

\n

2 = {u_1}/{reciprocal_r}$^{n-1}$

\n

{reciprocal_r}$^{n-1} =$ {u_1} $\\div 2 =$ {half_u_1} 

\n

This is a 'nice' power of {reciprocal_r}

\n

$n - 1 = 5$

\n

$n = 6$

\n

In part (c) use the formula $S_n = \\frac{u_1(1-r^n)}{1-r}$ it is preferable in this case since $|r|<1$

\n

substituting values that you know gives sum of first {how_many} terms to be {sum_c}

\n

", "rulesets": {}, "extensions": [], "variables": {"u_3": {"name": "u_3", "group": "Ungrouped variables", "definition": "u_6*{reciprocal_r}^3", "description": "

Third term of the geometric sequence

", "templateType": "anything"}, "reciprocal_r": {"name": "reciprocal_r", "group": "Ungrouped variables", "definition": "random(2 .. 6#1)", "description": "

reciprocal of the common ratio.

", "templateType": "randrange"}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "1/{reciprocal_r}", "description": "

common ratio, set to be a fraction either $\\frac{1}{2}, \\frac{1}{3}, \\frac{1}{4}, \\frac{1}{5}$ or $\\frac{1}{6}$

", "templateType": "anything"}, "u_2": {"name": "u_2", "group": "Ungrouped variables", "definition": "{u_3}*{reciprocal_r}", "description": "

Second term of the geometric sequence

", "templateType": "anything"}, "u_1": {"name": "u_1", "group": "Ungrouped variables", "definition": "{u_2}*{reciprocal_r}", "description": "

First term of the geometric sequence

", "templateType": "anything"}, "u_6": {"name": "u_6", "group": "Ungrouped variables", "definition": "2", "description": "

Sixth term of geometric sequence

", "templateType": "number"}, "how_many": {"name": "how_many", "group": "Ungrouped variables", "definition": "random(20 .. 30#5)", "description": "

Variable to determine how many terms should be summed in part (c)

", "templateType": "randrange"}, "sum_c": {"name": "sum_c", "group": "Ungrouped variables", "definition": "u_1*(1- r^how_many)/(1-r)", "description": "

Answer to part (c), summing appropriate number of terms

", "templateType": "anything"}, "half_u_1": {"name": "half_u_1", "group": "Ungrouped variables", "definition": "u_1/2", "description": "

u_1 divided by u_6 required in advice.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["u_3", "reciprocal_r", "r", "u_2", "u_1", "u_6", "how_many", "sum_c", "half_u_1"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the value of $r$ the common ratio.

", "minValue": "{r}", "maxValue": "{r}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en", "eu", "plain-eu"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the value of $n$ for which $u_n =$ {u_6}.

", "minValue": "6", "maxValue": "6", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en", "eu", "plain-eu"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the sum of the first {how_many} terms of the sequence.

", "minValue": "{sum_c}", "maxValue": "{sum_c}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "3", "precisionPartialCredit": "75", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en", "eu", "plain-eu"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Johnathan Gregg", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4974/"}]}]}], "contributors": [{"name": "Johnathan Gregg", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4974/"}]}