// Numbas version: exam_results_page_options {"name": "Binomial Distribution", "extensions": ["eukleides", "stats", "jsxgraph", "permutations", "geogebra", "random_person", "codewords", "polynomials", "chemistry", "quantities"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Binomial Distribution", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "\n

\n\n

\n

The following questions all require calculations using the binomial distribution.  Before you start you may wish to write down any formulae you may need.  Also please note that you need to answer every question to 4 decimal places or it will be marked incorrect. 

\n

Remember that the numbers will change if you start the test again so you can practice as many times as you like.

", "advice": "

Here are some tips on how to set out your work, as well as how to complete the questions. As the numbers you saw were randomly generated, these are examples rather than the solutions to the questions you answered.  None of the answers given below have been rounded but you need to round yours to 4 d.p. . 

\n

\n

Question 1

\n

1a: $X\\sim B(\\var{n1},\\var{p1})$

\n

(i) $P(X=\\var{k1})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k1}) = {\\var{n1} \\choose \\var{k1}} \\var{p1}^{\\var{k1}} (1-\\var{p1})^{\\var{n1}-\\var{k1}}=\\var{Ans1}$

\n

\n

(ii) $P(X=\\var{k2})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k2}) = {\\var{n1} \\choose \\var{k2}} \\var{p1}^{\\var{k2}} (1-\\var{p1})^{\\var{n1}-\\var{k2}}=\\var{Ans2}$

\n

\n

(iii) $P(X=\\var{k3})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k3}) = {\\var{n1} \\choose \\var{k3}} \\var{p1}^{\\var{k3}} (1-\\var{p1})^{\\var{n1}-\\var{k3}}=\\var{Ans3}$

\n

\n

\n

1b: $X\\sim B(\\var{n2}, \\var{p2})$

\n

(i) $P(X<\\var{k4})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X<\\var{k4})=P(X\\leq \\var{k4}-1)=P(X\\leq{\\var{j1}})=\\sum_{k=0}^\\var{n2} {\\var{n2} \\choose \\var{j1}} \\var{p2}^{\\var{j1}} (1-\\var{p2})^{\\var{n2}-\\var{j1}}={\\var{n2} \\choose 0} \\var{p2}^{0} (1-\\var{p2})^{\\var{n2}-0}+{\\var{n2} \\choose 1} \\var{p2}^{1} (1-\\var{p2})^{\\var{n2}-1} + ... +{\\var{n2} \\choose \\var{j1}} \\var{p2}^{\\var{j1}} (1-\\var{p2})^{\\var{n2}-\\var{j1}} = \\var{Ans4}$

\n

\n

(ii) $P(X<\\var{k5})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X<\\var{k5})=P(X\\leq \\var{k5}-1)=P(X\\leq{\\var{j2}})=\\sum_{k=0}^\\var{n2} {\\var{n2} \\choose \\var{j2}} \\var{p2}^{\\var{j2}} (1-\\var{p2})^{\\var{n2}-\\var{j2}}={\\var{n2} \\choose 0} \\var{p2}^{0} (1-\\var{p2})^{\\var{n2}-0}+{\\var{n2} \\choose 1} \\var{p2}^{1} (1-\\var{p2})^{\\var{n2}-1} + ... +{\\var{n2} \\choose \\var{j2}} \\var{p2}^{\\var{j2}} (1-\\var{p2})^{\\var{n2}-\\var{j2}} = \\var{Ans5}$

\n

\n

(iii) $P(X<\\var{k6})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X<\\var{k6})=P(X\\leq \\var{k6}-1)=P(X\\leq{\\var{j3}})=\\sum_{k=0}^\\var{n2} {\\var{n2} \\choose \\var{j3}} \\var{p2}^{\\var{j3}} (1-\\var{p2})^{\\var{n2}-\\var{j3}}={\\var{n2} \\choose 0} \\var{p2}^{0} (1-\\var{p2})^{\\var{n2}-0}+{\\var{n2} \\choose 1} \\var{p2}^{1} (1-\\var{p2})^{\\var{n2}-1} + ... +{\\var{n2} \\choose \\var{j3}} \\var{p2}^{\\var{j3}} (1-\\var{p2})^{\\var{n2}-\\var{j3}} = \\var{Ans6}$

\n

\n

1c: $X\\sim B(\\var{n3}, \\var{p3})$

\n

(i) $P(X\\leq\\var{k7})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X\\leq \\var{k7})=\\sum_{k=0}^\\var{n3} {\\var{n3} \\choose \\var{k7}} \\var{p3}^{\\var{k7}} (1-\\var{p3})^{\\var{n3}-\\var{k7}}={\\var{n3} \\choose 0} \\var{p3}^{0} (1-\\var{p3})^{\\var{n3}-0}+{\\var{n3} \\choose 1} \\var{p3}^{1} (1-\\var{p3})^{\\var{n3}-1} + ... +{\\var{n3} \\choose \\var{k7}} \\var{p3}^{\\var{k7}} (1-\\var{p3})^{\\var{n3}-\\var{k7}} = \\var{Ans7}$

\n

\n

(ii) $P(X>\\var{k8})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k}\\rightarrow P(X>\\var{k8})=1-P(X\\leq \\var{k8})=1 - (\\sum_{k=0}^\\var{n3} {\\var{n3} \\choose \\var{k8}} \\var{p3}^{\\var{k8}} (1-\\var{p3})^{\\var{n3}-\\var{k8}})=1-({\\var{n3} \\choose 0} \\var{p3}^{0} (1-\\var{p3})^{\\var{n3}-0}+{\\var{n3} \\choose 1} \\var{p3}^{1} (1-\\var{p3})^{\\var{n3}-1} + ... +{\\var{n3} \\choose \\var{k8}} \\var{p3}^{\\var{k8}} (1-\\var{p3})^{\\var{n3}-\\var{k8}}) = \\var{Ans8}$

\n

\n

(iii) $P(X\\geq\\var{k9})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k}\\rightarrow P(X\\geq\\var{k9})=1-P(X\\leq \\var{k9} - 1)=1-P(X\\leq \\var{j4} )=1 - (\\sum_{k=0}^\\var{n3} {\\var{n3} \\choose \\var{j4}} \\var{p3}^{\\var{j4}} (1-\\var{p3})^{\\var{n3}-\\var{j4}})=1-({\\var{n3} \\choose 0} \\var{p3}^{0} (1-\\var{p3})^{\\var{n3}-0}+{\\var{n3} \\choose 1} \\var{p3}^{1} (1-\\var{p3})^{\\var{n3}-1} + ... +{\\var{n3} \\choose \\var{j4}} \\var{p3}^{\\var{j4}} (1-\\var{p3})^{\\var{n3}-\\var{j4}}) = \\var{Ans9}$

\n

\n

Question 2

\n

2a: $X\\sim B(\\var{n4},\\var{p4})$

\n

(i) $P(X=\\var{k10})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k10}) = {\\var{n4} \\choose \\var{k10}} \\var{p4}^{\\var{k10}} (1-\\var{p4})^{\\var{n4}-\\var{k10}}=\\var{Ans10}$

\n

(ii) $P(X>\\var{k11})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k}\\rightarrow P(X>\\var{k11})=1-P(X\\leq \\var{k11})=1 - (\\sum_{k=0}^\\var{n4} {\\var{n4} \\choose \\var{k11}} \\var{p4}^{\\var{k11}} (1-\\var{p4})^{\\var{n4}-\\var{k11}})=1-({\\var{n4} \\choose 0} \\var{p4}^{0} (1-\\var{p4})^{\\var{n4}-0}+{\\var{n4} \\choose 1} \\var{p4}^{1} (1-\\var{p4})^{\\var{n4}-1} + ... +{\\var{n4} \\choose \\var{k11}} \\var{p4}^{\\var{k11}} (1-\\var{p4})^{\\var{n4}-\\var{k11}}) = \\var{Ans11}$

\n

2b: $X\\sim B(n,\\var{p4})$

\n

(i) Find n. 

\n

$E(x) =np \\rightarrow  n=\\frac{E(x)}{p} \\therefore n= \\frac{\\var{Expx}}{\\var{p4}} \\therefore n=\\var{n} \\therefore n=\\var{Ans12}$

\n

(ii) Find n.

\n

$P(X\\geq 1) > \\var{q} \\therefore 1-P(X=0)>\\var{q} \\therefore P(X=0)< \\var{r} \\rightarrow{n \\choose k} p^{k} (1-p)^{n-k} \\therefore {n \\choose 0} \\var{p4}^{0} (1-\\var{p4})^{n-0} < \\var{r} \\therefore \\var{t}^n < \\var{r} \\therefore nln(\\var{t})<ln(\\var{r}) \\therefore n>\\frac{ln(\\var{r})}{ln(\\var{t})} \\therefore n > \\var{nn} \\therefore n>\\var{Ans13} $

\n

\n

Question 3

\n

3a: $X\\sim B(\\var{n6}, \\var{p5})$

\n

(i) $P(X=\\var{k13})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k13}) = {\\var{n6} \\choose \\var{k13}} \\var{p5}^{\\var{k13}} (1-\\var{p5})^{\\var{n6}-\\var{k13}}=\\var{Ans14}$

\n

(ii) $P(X\\geq\\var{j5})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k}\\rightarrow P(X\\geq\\var{j5})=1-P(X\\leq \\var{j5} - 1)=1-P(X\\leq \\var{k14} )=1 - (\\sum_{k=0}^\\var{n6} {\\var{n6} \\choose \\var{k14}} \\var{p5}^{\\var{k14}} (1-\\var{p5})^{\\var{n6}-\\var{k14}})=1-({\\var{n6} \\choose 0} \\var{p5}^{0} (1-\\var{p5})^{\\var{n6}-0}+{\\var{n6} \\choose 1} \\var{p5}^{1} (1-\\var{p5})^{\\var{n6}-1})= \\var{Ans15}$

\n

\n

Question 4

\n

4a: $X\\sim B(\\var{n7},\\var{p6})$

\n

(i) $P(X=\\var{k15})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k15}) = {\\var{n7} \\choose \\var{k15}} \\var{p6}^{\\var{k15}} (1-\\var{p6})^{\\var{n7}-\\var{k15}}=\\var{Ans16}$

\n

(ii) $P(X=\\var{k16})$

\n

$P(X=k)={n \\choose k} p^{k} (1-p)^{n-k} \\rightarrow P(X=\\var{k16}) = {\\var{n7} \\choose \\var{k16}} \\var{p6}^{\\var{k16}} (1-\\var{p6})^{\\var{n7}-\\var{k16}}=\\var{Ans17}$

\n

(iii) $P(X\\geq\\var{j6})$

\n

$ P(X\\leq k) =\\sum_{k=0}^n {n \\choose k} p^{k} (1-p)^{n-k}\\rightarrow P(X\\geq\\var{j6})=1-P(X\\leq \\var{j6} - 1)=1-P(X\\leq \\var{k17} )=1 - (\\sum_{k=0}^\\var{n7} {\\var{n7} \\choose \\var{k17}} \\var{p6}^{\\var{k17}} (1-\\var{p6})^{\\var{n7}-\\var{k17}})=1-({\\var{n7} \\choose 0} \\var{p6}^{0} (1-\\var{p6})^{\\var{n7}-0}+{\\var{n7} \\choose 1} \\var{p6}^{1} (1-\\var{p6})^{\\var{n7}-1}+...+{\\var{n7} \\choose \\var{k17}} \\var{p6}^{\\var{k17}} (1-\\var{p6})^{\\var{n7}-\\var{k17}})= \\var{Ans18} $

", "rulesets": {}, "extensions": ["chemistry", "eukleides", "geogebra", "jsxgraph", "codewords", "permutations", "polynomials", "quantities", "random_person", "stats", "visjs"], "variables": {"k4": {"name": "k4", "group": "Question 1", "definition": "random(2 .. 3#1)", "description": "", "templateType": "randrange"}, "k8": {"name": "k8", "group": "Question 1", "definition": "random(2 .. 4#1)", "description": "", "templateType": "randrange"}, "Ans14": {"name": "Ans14", "group": "Question 3", "definition": "binomialpdf(k13,n6,p5)", "description": "", "templateType": "anything"}, "k17": {"name": "k17", "group": "Question 4", "definition": "j6-1", "description": "

k17

", "templateType": "anything"}, "n6": {"name": "n6", "group": "Question 3", "definition": "random(8 .. 10#1)", "description": "", "templateType": "randrange"}, "Ans16": {"name": "Ans16", "group": "Question 4", "definition": "binomialpdf(k15,n7,p6)", "description": "", "templateType": "anything"}, "k10": {"name": "k10", "group": "Question 2", "definition": "0", "description": "", "templateType": "anything"}, "Ans1": {"name": "Ans1", "group": "Question 1", "definition": "binomialpdf(k1,n1,p1)", "description": "", "templateType": "anything"}, "t": {"name": "t", "group": "Question 2", "definition": "1-p4", "description": "", "templateType": "anything"}, "Ans15": {"name": "Ans15", "group": "Question 3", "definition": "1-binomialcdf(k14,j5,p5)", "description": "", "templateType": "anything"}, "n2": {"name": "n2", "group": "Question 1", "definition": "random(10 .. 14#1)", "description": "", "templateType": "randrange"}, "Ans8": {"name": "Ans8", "group": "Question 1", "definition": "1-binomialcdf(k8,n3,p3)", "description": "", "templateType": "anything"}, "n4": {"name": "n4", "group": "Question 2", "definition": "random(8 .. 12#1)", "description": "", "templateType": "randrange"}, "j5": {"name": "j5", "group": "Question 3", "definition": "2", "description": "", "templateType": "anything"}, "j6": {"name": "j6", "group": "Question 4", "definition": "3", "description": "", "templateType": "anything"}, "j2": {"name": "j2", "group": "Question 1", "definition": "k5-1", "description": "", "templateType": "anything"}, "k5": {"name": "k5", "group": "Question 1", "definition": "random(4 .. 5#1)", "description": "", "templateType": "randrange"}, "n": {"name": "n", "group": "Question 2", "definition": "Expx/p4", "description": "

 n>=E(x)/p 

", "templateType": "anything"}, "Ans9": {"name": "Ans9", "group": "Question 1", "definition": "1-binomialcdf(j4,n3,p3)", "description": "", "templateType": "anything"}, "k14": {"name": "k14", "group": "Question 3", "definition": "j5-1", "description": "", "templateType": "anything"}, "k2": {"name": "k2", "group": "Question 1", "definition": "random(4 .. 5#1)", "description": "", "templateType": "randrange"}, "p5": {"name": "p5", "group": "Question 3", "definition": "k13/100", "description": "", "templateType": "anything"}, "n7": {"name": "n7", "group": "Question 4", "definition": "random(7 .. 10#1)", "description": "", "templateType": "randrange"}, "k7": {"name": "k7", "group": "Question 1", "definition": "random(3 .. 5#1)", "description": "", "templateType": "randrange"}, "Ans10": {"name": "Ans10", "group": "Question 2", "definition": "binomialpdf(k10,n4,p4)", "description": "", "templateType": "anything"}, "k3": {"name": "k3", "group": "Question 1", "definition": "random(6 .. 7#1)", "description": "", "templateType": "randrange"}, "nn": {"name": "nn", "group": "Question 2", "definition": "(ln(r))/(ln(1-p4))", "description": "", "templateType": "anything"}, "r": {"name": "r", "group": "Question 2", "definition": "1-q", "description": "", "templateType": "anything"}, "Ans2": {"name": "Ans2", "group": "Question 1", "definition": "binomialpdf(k2,n1,p1)", "description": "", "templateType": "anything"}, "p4": {"name": "p4", "group": "Question 2", "definition": "random(0.1 .. 0.2#0.01)", "description": "", "templateType": "randrange"}, "Ans11": {"name": "Ans11", "group": "Question 2", "definition": "1- binomialcdf(k11,n5,p4)", "description": "", "templateType": "anything"}, "k6": {"name": "k6", "group": "Question 1", "definition": "random(6 .. 7#1)", "description": "", "templateType": "randrange"}, "Ans3": {"name": "Ans3", "group": "Question 1", "definition": "binomialpdf(k3,n1,p1)", "description": "", "templateType": "anything"}, "j3": {"name": "j3", "group": "Question 1", "definition": "k6-1", "description": "", "templateType": "anything"}, "k11": {"name": "k11", "group": "Question 2", "definition": "random(2 .. 4#1)", "description": "", "templateType": "randrange"}, "p1": {"name": "p1", "group": "Question 1", "definition": "random(0.2 .. 0.8#1)", "description": "", "templateType": "randrange"}, "Ans6": {"name": "Ans6", "group": "Question 1", "definition": "binomialcdf(j3,n2,p2)", "description": "", "templateType": "anything"}, "Ans12": {"name": "Ans12", "group": "Question 2", "definition": "ceil(n)", "description": "", "templateType": "anything"}, "p3": {"name": "p3", "group": "Question 1", "definition": "random(0.5 .. 0.9#0.01)", "description": "", "templateType": "randrange"}, "q": {"name": "q", "group": "Question 2", "definition": "0.95", "description": "", "templateType": "anything"}, "Ans5": {"name": "Ans5", "group": "Question 1", "definition": "binomialcdf(j2,n2,p2)", "description": "", "templateType": "anything"}, "k15": {"name": "k15", "group": "Question 4", "definition": "0", "description": "", "templateType": "anything"}, "Ans7": {"name": "Ans7", "group": "Question 1", "definition": "binomialcdf(k7,n3,p3)", "description": "", "templateType": "anything"}, "n3": {"name": "n3", "group": "Question 1", "definition": "random(10 .. 12#1)", "description": "", "templateType": "randrange"}, "Ans4": {"name": "Ans4", "group": "Question 1", "definition": "binomialcdf(j1,n2,p2)", "description": "", "templateType": "anything"}, "j1": {"name": "j1", "group": "Question 1", "definition": "k4-1", "description": "", "templateType": "anything"}, "Expx": {"name": "Expx", "group": "Question 2", "definition": "random(4 .. 7#1)", "description": "

This is E(x)

", "templateType": "randrange"}, "p2": {"name": "p2", "group": "Question 1", "definition": "random(0.2 .. 0.3#0.01)", "description": "", "templateType": "randrange"}, "n5": {"name": "n5", "group": "Question 2", "definition": "random(18 .. 22#1)", "description": "", "templateType": "randrange"}, "k1": {"name": "k1", "group": "Question 1", "definition": "random(2 .. 3#1)", "description": "", "templateType": "randrange"}, "k16": {"name": "k16", "group": "Question 4", "definition": "2", "description": "", "templateType": "anything"}, "n1": {"name": "n1", "group": "Question 1", "definition": "random(10 .. 15#1)", "description": "", "templateType": "randrange"}, "k13": {"name": "k13", "group": "Question 3", "definition": "1", "description": "", "templateType": "anything"}, "Ans13": {"name": "Ans13", "group": "Question 2", "definition": "ceil(nn)", "description": "", "templateType": "anything"}, "k9": {"name": "k9", "group": "Question 1", "definition": "random(2 .. 4#1)", "description": "", "templateType": "randrange"}, "j4": {"name": "j4", "group": "Question 1", "definition": "k9-1", "description": "", "templateType": "anything"}, "Ans17": {"name": "Ans17", "group": "Question 4", "definition": "binomialpdf(k16,n7,p6)", "description": "", "templateType": "anything"}, "Ans18": {"name": "Ans18", "group": "Question 4", "definition": "1-binomialcdf(k17,n7,p6)", "description": "", "templateType": "anything"}, "p6": {"name": "p6", "group": "Question 4", "definition": "random(0.1 .. 0.3#0.01)", "description": "

p6

", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": "1000"}, "ungrouped_variables": [], "variable_groups": [{"name": "Question 1", "variables": ["n1", "p1", "k1", "Ans1", "k2", "Ans2", "k3", "Ans3", "n2", "p2", "k4", "j1", "Ans4", "k5", "j2", "Ans5", "k6", "j3", "Ans6", "n3", "p3", "k7", "Ans7", "k8", "Ans8", "k9", "j4", "Ans9"]}, {"name": "Question 2", "variables": ["p4", "k10", "n4", "Ans10", "k11", "n5", "Ans11", "Expx", "n", "Ans12", "q", "r", "nn", "Ans13", "t"]}, {"name": "Question 3", "variables": ["p5", "n6", "k13", "Ans14", "j5", "k14", "Ans15"]}, {"name": "Question 4", "variables": ["p6", "n7", "k15", "Ans16", "k16", "Ans17", "j6", "k17", "Ans18"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Question 1", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

(a) Given that $X\\sim Bi(\\var{n1},\\var{p1})$. Find,

\n

(i) $P(X=\\var{k1})$

\n

Answer:[[0]]

\n

\n

(ii) $P(X=\\var{k2})$

\n

Answer:[[1]]

\n

\n

(iii) $P(X=\\var{k3})$

\n

Answer:[[2]]

\n

\n

(b) Given that $X\\sim Bi(\\var{n2}, \\var{p2})$. Find,

\n

(i) $P(X<\\var{k4})$

\n

Answer:[[3]]

\n

\n

(ii) $P(X<\\var{k5})$

\n

Answer:[[4]]

\n

\n

(iii) $P(X<\\var{k6})$

\n

Answer:[[5]]

\n

\n

(c) Given that $X\\sim Bi(\\var{n3}, \\var{p3})$. Find, 

\n

(i) $P(X\\leq\\var{k7})$

\n

Answer:[[6]]

\n

\n

(ii) $P(X>\\var{k8})$

\n

Answer:[[7]]

\n

\n

(iii) $P(X\\geq\\var{k9})$

\n

Answer:[[8]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans1}", "maxValue": "{Ans1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans2}", "maxValue": "{Ans2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans3}", "maxValue": "{Ans3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans4}", "maxValue": "{Ans4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans5}", "maxValue": "{Ans5}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans6}", "maxValue": "{Ans6}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans7}", "maxValue": "{Ans7}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans8}", "maxValue": "{Ans8}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans9}", "maxValue": "{Ans9}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Question 2", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

(a) The probability of a telesales representative making a sale on a customer call is {p4}. Find the probability that,

\n

(i) no sales are made in {n4} calls.

\n

Answer:[[0]]

\n

\n

(ii) more than {k11} sales are made in {n5} calls.

\n

Answer:[[1]]

\n

\n

(b) Representatives are required to achieve a mean of {Expx} sales each day. 

\n

\n

(i) Given that $E[X]=np$, find the least number of calls each day a representative should make to achieve this requirement. 

\n

Answer:[[2]]

\n

\n

(ii) Calculate the least number of calls that need to be made by a representative for the probability of at least 1 sale to exceed 0.95. 

\n

Answer:[[3]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans10}", "maxValue": "{Ans10}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans11}", "maxValue": "{Ans11}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans12}", "maxValue": "{Ans12}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans13}", "maxValue": "{Ans13}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Question 3", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

(a) A factory produces components of which 1% are defective. The components are packed in boxes of {n6}. A box is selected at random. 

\n

\n

(i) Find the probability that the box contains exactly 1 defective component. 

\n

Answer:[[0]]

\n

\n

(ii) Find the probability that there are at least 2 defective components in the box. 

\n

Answer:[[1]]

\n

\n

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans14}", "maxValue": "{Ans14}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans15}", "maxValue": "{Ans15}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Question 4", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

(a) The probability of a treatment for a particular disease alleviating all signs and symptoms is {p6}. Suppose that {n7} patients are treated, determine the probabilities that,

\n

\n

(i) there are no cures.

\n

Answer:[[0]]

\n

\n

(ii) there are exactly 2 cures.

\n

Answer:[[1]]

\n

\n

(iii) there are at least 3 cures. 

\n

Answer:[[2]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans16}", "maxValue": "{Ans16}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans17}", "maxValue": "{Ans17}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{Ans18}", "maxValue": "{Ans18}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "contributors": [{"name": "Ellen Marshall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2533/"}, {"name": "Brad Allison", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3394/"}]}]}], "contributors": [{"name": "Ellen Marshall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2533/"}, {"name": "Brad Allison", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3394/"}]}