// Numbas version: exam_results_page_options {"name": "CF Maths January test mock paper Binomial Expansion 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a1", "b1", "c1", "c2", "d1", "d3", "d2", "a2", "b2", "a3", "b3", "c3", "c4", "d4", "e1", "e2", "e3", "e4", "f1", "f2", "f3", "f4"], "name": "CF Maths January test mock paper Binomial Expansion 2", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

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

\n

Alternatively, take out a factor of $a^n$ and recall the formula for $(1+\\frac{b}{a}x)^n$ to find the expansion.

", "rulesets": {}, "parts": [{"notallowed": {"message": "", "showStrings": false, "strings": [")^"], "partialCredit": 0}, "vsetrangepoints": 5, "prompt": "

$(\\var{c3}-\\var{c2}x)^{\\var{c1}}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all,fractionnumbers", "scripts": {}, "answer": "({c3})^{c1}-{c1}{c2}({c3})^({c1}-1)x+{c1}{c1-1}/2 ({c3})^({c1}-2)*{c2}^2*x^2 -{c1}{c1-1}{c1-2}/6 ({c3})^({c1}-3)*{c2}^3x^3 + {c1}{c1-1}{c1-2}{c1-3}/24({c3})^({c1}-4)*{c2}^4x^4 - {c1}{c1-1}{c1-2}{c1-3}{c1-4}/120({c3})^({c1}-5)*{c2}^5x^5 ", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme", "musthave": {"message": "", "showStrings": false, "strings": ["^2"], "partialCredit": 0}}], "extensions": [], "statement": "

Using the binomial theorem, or otherwise, expand the following:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"f1": {"definition": "random(2..5 except e1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f1", "description": ""}, "f2": {"definition": "random(1..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "f2", "description": ""}, "f3": {"definition": "random(1..3 except f2)", "templateType": "anything", "group": "Ungrouped variables", "name": "f3", "description": ""}, "f4": {"definition": "f2/f3", "templateType": "anything", "group": "Ungrouped variables", "name": "f4", "description": ""}, "b1": {"definition": "random(3..5 except a1)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "1/b2", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "d4": {"definition": "random(2..5 except d3)", "templateType": "anything", "group": "Ungrouped variables", "name": "d4", "description": ""}, "d2": {"definition": "d3/(2d4)", "templateType": "anything", "group": "Ungrouped variables", "name": "d2", "description": ""}, "d3": {"definition": "random(1,3,5)", "templateType": "anything", "group": "Ungrouped variables", "name": "d3", "description": ""}, "d1": {"definition": "random(3..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "d1", "description": ""}, "e2": {"definition": "random(1..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e2", "description": ""}, "e4": {"definition": "e2/e3", "templateType": "anything", "group": "Ungrouped variables", "name": "e4", "description": ""}, "a1": {"definition": "random(3..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "1/a2", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "c3": {"definition": "random(2..9 except c2)", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "c2": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "description": ""}, "c1": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "e1": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "e1", "description": ""}, "e3": {"definition": "random(1..3 except e2)", "templateType": "anything", "group": "Ungrouped variables", "name": "e3", "description": ""}, "c4": {"definition": "c2/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": "Jinhua Mathias", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}]}], "contributors": [{"name": "Jinhua Mathias", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}