Formulaic Maths Problems - get another problem: level 1, level 2, level 3 - link to this problem
Find $P(1 \le X < 4)$, where $X$ is a Binomial variable with parameters $n = 6$, $p = 0.7$.
Find $1 - p$.
$1 - p = \class{inputBox step1}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{A1}}\hspace{54px}}~}$ $1 - p = 0.3$
Hint: For a Binomial distribution, $P(X = r) = {}^n \mathrm{C}_r \times p^r \times (1-p)^{n-r}$.
$P(X = \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br0c0}}\hspace{35px}}~}) = \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br0c1}}\hspace{100px}}~} \times \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br0c2}}\hspace{100px}}~} \times \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br0c3}}\hspace{100px}}~} = \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br0c4R}}\hspace{100px}}~}$ $P(X = 1) = 6 \times 0.7 \times 0.00243 = 0.010206$
$P(X = \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br1c0}}\hspace{35px}}~}) = \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br1c1}}\hspace{100px}}~} \times \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br1c2}}\hspace{100px}}~} \times \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br1c3}}\hspace{100px}}~} = \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br1c4R}}\hspace{100px}}~}$ $P(X = 2) = 15 \times 0.49 \times 0.0081 = 0.059535$
$P(X = \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br2c0}}\hspace{35px}}~}) = \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br2c1}}\hspace{100px}}~} \times \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br2c2}}\hspace{100px}}~} \times \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br2c3}}\hspace{100px}}~} = \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br2c4R}}\hspace{100px}}~}$ $P(X = 3) = 20 \times 0.343 \times 0.027 = 0.18522$
$P(1 \le X < 4) = \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{CR}}\hspace{100px}}~}$ $P(1 \le X < 4) = 0.254961$