// Numbas version: finer_feedback_settings {"name": "CF Maths January test mock paper Binomial Expansion 6", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a1", "a2", "b1", "b2", "c1", "c2", "c3", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g2", "g3", "a3", "b3", "d4", "d5", "e4", "e5", "e6", "e7"], "name": "CF Maths January test mock paper Binomial Expansion 6", "tags": [], "advice": "
In these questions we need to think carefully about which terms in the expansions will contribute to the coefficient that we are trying to find.
\nFor example, if we have $(a+bx)(c+dx)^n$ and we are looking for the coefficient of the $x^i$ term then the answer will be $a*\\simplify{comb(n,i)}*d^i + b*\\simplify{comb(n, i-1)}*d^{i-1}$
\nThis makes use of the binomial theorem:
\n", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "
$(\\var{c3}-x)(1+x)^{\\var{c1}}$ $[x^{\\var{c2}}]$
", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "(comb({c1},{c2})*{c3})-(comb({c1},{c2}-1))", "minValue": "(comb({c1},{c2})*{c3})-(comb({c1},{c2}-1))", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "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": ""}, "preamble": {"css": "", "js": ""}, "variables": {"f1": {"definition": "random(4..9 except c1 except b1 except a1 except d1 except e1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f1", "description": ""}, "f2": {"definition": "floor(f1/2)", "templateType": "anything", "group": "Ungrouped variables", "name": "f2", "description": ""}, "f3": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "f3", "description": ""}, "e5": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "e5", "description": ""}, "b1": {"definition": "random(2..9 except a1)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "floor(2b1/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "random(2..5 except a3)", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "d4": {"definition": "random(2..6 except d3)", "templateType": "anything", "group": "Ungrouped variables", "name": "d4", "description": ""}, "d5": {"definition": "random(2..5 except d3)", "templateType": "anything", "group": "Ungrouped variables", "name": "d5", "description": ""}, "d2": {"definition": "floor(2d1/3+1)", "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(2..9 except c1 except b1 except a1)", "templateType": "anything", "group": "Ungrouped variables", "name": "d1", "description": ""}, "g3": {"definition": "random(2..5 except 3)", "templateType": "anything", "group": "Ungrouped variables", "name": "g3", "description": ""}, "g2": {"definition": "floor(2g1/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "g2", "description": ""}, "g1": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "g1", "description": ""}, "a1": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "floor(a1/2)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "c3": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "e4": {"definition": "random(2..5 except e3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e4", "description": ""}, "c1": {"definition": "random(2..9 except b1 except a1)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "e6": {"definition": "random(2..5 except e5)", "templateType": "anything", "group": "Ungrouped variables", "name": "e6", "description": ""}, "e1": {"definition": "random(3..9 except c1 except b1 except a1 except d1)", "templateType": "anything", "group": "Ungrouped variables", "name": "e1", "description": ""}, "e3": {"definition": "floor(2e2/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e3", "description": ""}, "e2": {"definition": "floor(2e1/3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e2", "description": ""}, "e7": {"definition": "e6/e5", "templateType": "anything", "group": "Ungrouped variables", "name": "e7", "description": ""}, "c2": {"definition": "floor(c1/2)", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "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": "", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}]}], "contributors": [{"name": "", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}