Suppose that 60 percent of customers at a McDonalds purchase a hamburger, and assume that the purchases of different customers are independent. a) What is the probability that at most 7 of the next 10 customers will order a hamburger? (3 POINTS). b) What is the probability that exactly 6 of the next 10 customers will order a hamburger? (3 POINTS)

Respuesta :

Answer:

a) 83.87% probability that at most 7 of the next 10 customers will order a hamburger.

b) 25.08% probability that exactly 6 of the next 10 customers will order a hamburger

Step-by-step explanation:

For each customer at McDonalds, there are only two possible outcomes. Either they purchase a hamburguer, or they do not. The purchases of different customers are independent. 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.

[tex]P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}[/tex]

In which [tex]C_{n,x}[/tex] is the number of different combinations of x objects from a set of n elements, given by the following formula.

[tex]C_{n,x} = \frac{n!}{x!(n-x)!}[/tex]

And p is the probability of X happening.

60 percent of customers at a McDonalds purchase a hamburger

This means that [tex]p = 0.6[/tex]

a) What is the probability that at most 7 of the next 10 customers will order a hamburger? (3 POINTS).

This is [tex]P(X \leq 7)[/tex] when n = 10.

We know that either at most 7 of the next customers will order a hamburguer, or more than 7 will. The sum of these probabilities is decimal 1. So

[tex]P(X \leq 7) + P(X > 7) = 1[/tex]

[tex]P(X \leq 7) = 1 - P(X > 7)[/tex]

In which

[tex]P(X > 7) = P(X = 8) + P(X = 9) + P(X = 10)[/tex]

[tex]P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}[/tex]

[tex]P(X = 8) = C_{10,8}.(0.6)^{8}.(0.4)^{2} = 0.1209[/tex]

[tex]P(X = 9) = C_{10,9}.(0.6)^{9}.(0.4)^{1} = 0.0403[/tex]

[tex]P(X = 10) = C_{10,10}.(0.6)^{10}.(0.4)^{0} = 0.0001[/tex]

[tex]P(X > 7) = P(X = 8) + P(X = 9) + P(X = 10) = 0.1209 + 0.0403 + 0.0001 = 0.1613[/tex]

[tex]P(X \leq 7) = 1 - P(X > 7) = 1 - 0.1613 = 0.8387[/tex]

83.87% probability that at most 7 of the next 10 customers will order a hamburger.

b) What is the probability that exactly 6 of the next 10 customers will order a hamburger? (3 POINTS)

This is P(X = 6).

[tex]P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}[/tex]

[tex]P(X = 6) = C_{10,6}.(0.6)^{6}.(0.4)^{4} = 0.2508[/tex]

25.08% probability that exactly 6 of the next 10 customers will order a hamburger