// Numbas version: exam_results_page_options {"name": "Vicky's copy of Binomial Expansion", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["c1", "c2", "c3", "c4", "c5", "d2", "d1", "d3", "d4", "d5", "e1", "e2", "e3", "e4", "e5", "f1", "f2", "f3", "f4", "f5", "g1", "g2", "g3", "g4", "g5", "h1", "h2", "h3", "h4", "h5"], "name": "Vicky's copy of Binomial Expansion", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Recall the binomial theorem \"(a and use this to answer each part

\n

For example, if we want to know the coefficient of the $x^i$ term in $(a+bx)^n$ then we look at the binomial theorem and can see that the coefficient will be $\\simplify{comb(n, i)}*a^{(n-i)}*b^i$

", "rulesets": {}, "parts": [{"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "prompt": "

$(\\var{c4}+\\var{c3}x)^{\\var{c1}}$     $[x^{\\var{c2}}]$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "({c4}^{c1})*(comb({c1},{c2}))*({c5}^{c2})", "strictPrecision": true, "minValue": "({c4}^{c1})*(comb({c1},{c2}))*({c5}^{c2})", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "prompt": "

$(\\var{d4}+\\var{d3}x)^{\\var{d1}}$     $[x^{\\var{d2}}]$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "({d4}^{d1})*(comb({d1},{d2}))*({d5}^{d2})", "strictPrecision": true, "minValue": "({d4}^{d1})*(comb({d1},{d2}))*({d5}^{d2})", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "prompt": "

$(\\var{e4}-\\var{e3}x)^{\\var{e1}}$     $[x^{\\var{e2}}]$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "({e4}^{e1})*(comb({e1},{e2}))*((-{e5})^{e2})", "strictPrecision": true, "minValue": "({e4}^{e1})*(comb({e1},{e2}))*((-{e5})^{e2})", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "prompt": "

$(\\var{f4}-\\var{f3}x)^{\\var{f1}}$     $[x^{\\var{f2}}]$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "({f4}^{f1})*(comb({f1},{f2}))*({f5}^{f2})*((-1)^{f2})", "strictPrecision": true, "minValue": "({f4}^{f1})*(comb({f1},{f2}))*({f5}^{f2})*((-1)^{f2})", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

$(\\frac{1}{\\var{g1}}+\\frac{\\var{g2}}{\\var{g3}}x)^\\var{g4}$     $[x^\\var{g5}]$

", "allowFractions": true, "variableReplacements": [], "maxValue": "((1/{g1})^{g4})*(comb({g4},{g5}))*(({g1}*{g2}/{g3})^{g5})", "minValue": "((1/{g1})^{g4})*(comb({g4},{g5}))*(({g1}*{g2}/{g3})^{g5})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

$(\\frac{1}{\\var{h1}}-\\frac{\\var{h2}}{\\var{h3}}x)^\\var{h4}$     $[x^\\var{h5}]$

", "allowFractions": true, "variableReplacements": [], "maxValue": "((1/{h1})^{h4})*(comb({h4},{h5}))*(({h1}*{h2}*(-1)/{h3})^{h5})", "minValue": "((1/{h1})^{h4})*(comb({h4},{h5}))*(({h1}*{h2}*(-1)/{h3})^{h5})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

$(\\var{u}+k*}^\\var{v}$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "extensions": [], "statement": "

Find the coefficient of the term indicated in the square brackets in the expansion of each of the following expressions below

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"f1": {"definition": "random(3..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "f1", "description": ""}, "f2": {"definition": "floor(2f1/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "f2", "description": ""}, "f3": {"definition": "random(2..5 except e3)", "templateType": "anything", "group": "Ungrouped variables", "name": "f3", "description": ""}, "f4": {"definition": "random(2..5 except f3 except e4)", "templateType": "anything", "group": "Ungrouped variables", "name": "f4", "description": ""}, "f5": {"definition": "f3/f4", "templateType": "anything", "group": "Ungrouped variables", "name": "f5", "description": ""}, "h2": {"definition": "random(1,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "h2", "description": ""}, "h3": {"definition": "random([2,4,5] except h1)", "templateType": "anything", "group": "Ungrouped variables", "name": "h3", "description": ""}, "h1": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "h1", "description": ""}, "h4": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "h4", "description": ""}, "h5": {"definition": "floor(h4/2)", "templateType": "anything", "group": "Ungrouped variables", "name": "h5", "description": ""}, "e5": {"definition": "e3/e4", "templateType": "anything", "group": "Ungrouped variables", "name": "e5", "description": ""}, "e4": {"definition": "random(2..5 except e3 except d4)", "templateType": "anything", "group": "Ungrouped variables", "name": "e4", "description": ""}, "d4": {"definition": "random(2..5 except d3 except c4)", "templateType": "anything", "group": "Ungrouped variables", "name": "d4", "description": ""}, "d5": {"definition": "d3/d4", "templateType": "anything", "group": "Ungrouped variables", "name": "d5", "description": ""}, "d2": {"definition": "floor(2d1/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "d2", "description": ""}, "d3": {"definition": "random(2..5 except c3)", "templateType": "anything", "group": "Ungrouped variables", "name": "d3", "description": ""}, "d1": {"definition": "random(3..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "d1", "description": ""}, "e3": {"definition": "random(2..5 except d3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e3", "description": ""}, "e2": {"definition": "floor(e1/2)", "templateType": "anything", "group": "Ungrouped variables", "name": "e2", "description": ""}, "g5": {"definition": "floor(2g4/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "g5", "description": ""}, "g4": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "g4", "description": ""}, "g3": {"definition": "random([2,4,5] except g1)", "templateType": "anything", "group": "Ungrouped variables", "name": "g3", "description": ""}, "g2": {"definition": "random(1,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "g2", "description": ""}, "g1": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "g1", "description": ""}, "c3": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "c2": {"definition": "floor(c1/2)", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "description": ""}, "c1": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "e1": {"definition": "random(3..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "e1", "description": ""}, "c5": {"definition": "c3/c4", "templateType": "anything", "group": "Ungrouped variables", "name": "c5", "description": ""}, "c4": {"definition": "random(2..5 except c3)", "templateType": "anything", "group": "Ungrouped variables", "name": "c4", "description": ""}}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}]}]}], "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}]}