Answer with Step-by-step explanation:
The given probability can be obtained Bernoulli's probability theory since the outcome of the experiment is binary
For an event E with probability of occurrence 'p' the probability that the event E occurs exactly 'r' times in 'n' trails is given by
[tex]P(E)=\binom{n}{r}p^{r}(1-p)^{n-r}[/tex]
Applying the given values we get
since p = probability that the file has a virus = 0.2
n = no of trails = 20
r = 5 ( Since we need to find the probability that at least 5 files have virus)
Part a)
[tex]P(E)=\binom{20}{5}(0.2)^{5}(1-0.2)^{20-5}\\\\P(E)=\frac{20!}{(20-5)!\cdot 5!}\times (0.2)^{5}(1-0.2)^{15}\\\\P(E)=0.1745[/tex]
Part b)
Let P(E') be the probability that the manager has to check 6 files to find 3 undamaged ones thus n = 6, r = 3
[tex]P(E)=\binom{6}{3}(0.2)^{3}(1-0.2)^{6-3}\\\\P(E)=\frac{6!}{(6-3)!\cdot 5!}\times (0.2)^{3}(1-0.2)^{3}\\\\P(E')=0.082[/tex]