Formulaic Maths Problems - get another problem: level 1, level 2, level 3 - link to this problem
Find $P(1 < X \le 5)$, where $X$ is a Binomial variable with parameters $n = 8$, $p = 0.2$.
Find $1 - p$.
$1 - p = \class{inputBox step1}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{A1}}\hspace{54px}}~}$ $1 - p = 0.8$
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 = 2) = 28 \times 0.04 \times 0.262144 = 0.29360128$
$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 = 3) = 56 \times 0.008 \times 0.32768 = 0.14680064$
$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 = 4) = 70 \times 0.0016 \times 0.4096 = 0.0458752$
$P(X = \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br3c0}}\hspace{35px}}~}) = \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br3c1}}\hspace{100px}}~} \times \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br3c2}}\hspace{100px}}~} \times \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br3c3}}\hspace{100px}}~} = \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Br3c4R}}\hspace{100px}}~}$ $P(X = 5) = 56 \times 0.00032 \times 0.512 = 0.00917504$
$P(1 < X \le 5) = \class{inputBox step6}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{CR}}\hspace{100px}}~}$ $P(1 < X \le 5) = 0.49545216$