Answer:
72.69% probability that between 4 and 6 (including endpoints) have a laptop.
Step-by-step explanation:
For each student, there are only two possible outcomes. Either they have a laptop, or they do not. The probability of a student having a laptop is independent from other students. So we use the binomial probability distribution to solve this question.
Binomial probability distribution
The binomial probability is the probability of exactly x successes on n repeated trials, and X can only have two outcomes.
![P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}](https://tex.z-dn.net/?f=P%28X%20%3D%20x%29%20%3D%20C_%7Bn%2Cx%7D.p%5E%7Bx%7D.%281-p%29%5E%7Bn-x%7D)
In which
is the number of different combinations of x objects from a set of n elements, given by the following formula.
![C_{n,x} = \frac{n!}{x!(n-x)!}](https://tex.z-dn.net/?f=C_%7Bn%2Cx%7D%20%3D%20%5Cfrac%7Bn%21%7D%7Bx%21%28n-x%29%21%7D)
And p is the probability of X happening.
A study indicates that 62% of students have have a laptop.
This means that ![n = 0.62](https://tex.z-dn.net/?f=n%20%3D%200.62)
You randomly sample 8 students.
This means that ![n = 8](https://tex.z-dn.net/?f=n%20%3D%208)
Find the probability that between 4 and 6 (including endpoints) have a laptop.
![P(4 \leq X \leq 6) = P(X = 4) + P(X = 5) + P(X = 6)](https://tex.z-dn.net/?f=P%284%20%5Cleq%20X%20%5Cleq%206%29%20%3D%20P%28X%20%3D%204%29%20%2B%20P%28X%20%3D%205%29%20%2B%20P%28X%20%3D%206%29)
![P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}](https://tex.z-dn.net/?f=P%28X%20%3D%20x%29%20%3D%20C_%7Bn%2Cx%7D.p%5E%7Bx%7D.%281-p%29%5E%7Bn-x%7D)
![P(X = 4) = C_{8,4}.(0.62)^{4}.(0.38)^{4} = 0.2157](https://tex.z-dn.net/?f=P%28X%20%3D%204%29%20%3D%20C_%7B8%2C4%7D.%280.62%29%5E%7B4%7D.%280.38%29%5E%7B4%7D%20%3D%200.2157)
![P(X = 5) = C_{8,5}.(0.62)^{5}.(0.38)^{3} = 0.2815](https://tex.z-dn.net/?f=P%28X%20%3D%205%29%20%3D%20C_%7B8%2C5%7D.%280.62%29%5E%7B5%7D.%280.38%29%5E%7B3%7D%20%3D%200.2815)
![P(X = 6) = C_{8,6}.(0.62)^{6}.(0.38)^{2} = 0.2297](https://tex.z-dn.net/?f=P%28X%20%3D%206%29%20%3D%20C_%7B8%2C6%7D.%280.62%29%5E%7B6%7D.%280.38%29%5E%7B2%7D%20%3D%200.2297)
![P(4 \leq X \leq 6) = P(X = 4) + P(X = 5) + P(X = 6) = 0.2157 + 0.2815 + 0.2297 = 0.7269](https://tex.z-dn.net/?f=P%284%20%5Cleq%20X%20%5Cleq%206%29%20%3D%20P%28X%20%3D%204%29%20%2B%20P%28X%20%3D%205%29%20%2B%20P%28X%20%3D%206%29%20%3D%200.2157%20%2B%200.2815%20%2B%200.2297%20%3D%200.7269)
72.69% probability that between 4 and 6 (including endpoints) have a laptop.