// Numbas version: exam_results_page_options {"name": "Gemma's copy of First 3 terms of Binomial series for Natural exponent", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Gemma's copy of First 3 terms of Binomial series for Natural exponent", "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "advice": "

The binomial series expansion for an expression of the form \\((a+bx)^n\\) where \\(n\\) is a Natural number is given by:

\n

\\((a+bx)^n=\\tbinom{n}{0}(a)^n(bx)^{0}+\\tbinom{n}{1}(a)^{n-1}(bx)^{1}+\\tbinom{n}{2}(a)^{n-2}(bx)^{2}+...\\tbinom{n}{k}(a)^{n-k}(bx)^{k}+...\\tbinom{n}{n}(a)^{0}(bx)^{n}\\)

\n

In this example  \\(n=\\var{n}\\),  \\(k=\\var{k}\\),  \\(a=\\var{a}\\)  and  \\(b=\\var{b}\\).

\n

So the first three terms of the binomial series expansion are:

\n

 \\(\\var{a}^{\\var{n}}+\\tbinom{\\var{n}}{\\var{1}}*\\var{a}^{\\var{n}-1}*\\var{b}^{1}+\\tbinom{\\var{n}}{2}*\\var{a}^{\\var{n}-2}*\\var{b}^{2}\\)

\n

\\(=\\simplify{{a}^{n}}+\\simplify{{n}*{a}^({n}-1)*{b}}x+\\simplify{{n}*{n-1}*{a}^{{n}-2}*{b}^2/2x^2}\\)

\n

", "extensions": [], "parts": [{"checkingaccuracy": 0.001, "expectedvariablenames": [], "checkvariablenames": false, "marks": "3", "prompt": "

Write out the first three terms of the binomial expansion.  

", "showCorrectAnswer": true, "answer": "{a}^{n}+{n}*{a}^({n}-1)*{b}x+{n}*{n-1}*{a}^({n}-2)*{b}^2/2x^2", "vsetrange": [0, 1], "showFeedbackIcon": true, "showpreview": true, "variableReplacementStrategy": "originalfirst", "type": "jme", "vsetrangepoints": 5, "variableReplacements": [], "scripts": {}, "checkingtype": "absdiff"}], "ungrouped_variables": ["a", "b", "n", "c", "k"], "variables": {"k": {"templateType": "anything", "name": "k", "definition": "random(2..{n}-1)", "description": "", "group": "Ungrouped variables"}, "n": {"templateType": "randrange", "name": "n", "definition": "random(4..9#1)", "description": "", "group": "Ungrouped variables"}, "c": {"templateType": "anything", "name": "c", "definition": "comb({n},{k})*{a}^({n}-{k})*{b}^{k}", "description": "", "group": "Ungrouped variables"}, "b": {"templateType": "randrange", "name": "b", "definition": "random(2..12#1)", "description": "", "group": "Ungrouped variables"}, "a": {"templateType": "randrange", "name": "a", "definition": "random(2..10#1)", "description": "", "group": "Ungrouped variables"}}, "preamble": {"js": "", "css": ""}, "tags": [], "metadata": {"description": "

Find the first 3 terms of Binomial series having a Natural exponent

", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "functions": {}, "statement": "

Given the expression \\((\\var{a}+\\var{b}x)^{\\var{n}}\\)

", "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Gemma Crowe", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2440/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Gemma Crowe", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2440/"}]}