109k views
4 votes
Ginger buys lunch at school every day. She always gets

pizza when it is available. The cafeteria has pizza about
80% of the time.
Ginger runs a simulation to model this using a random
number generator. She assigns these digits to the possible
outcomes for each day of the week:
Let 0 and 1 = no pizza available
• Let 2, 3, 4, 5, 6, 7, 8, and 9 = pizza available ​

Ginger buys lunch at school every day. She always gets pizza when it is available-example-1
User Er Sushil
by
4.8k points

2 Answers

6 votes

Answer:

20%

Explanation:

A.p.e.x

User Ashish Goyal
by
4.7k points
13 votes

Answer:

The estimated probability that Ginger will eat a a pizza everyday of the week is;

D. 8/10 = 80%

Explanation:

The given parameters are;

The frequency with which Ginger buys launch = Everyday

The percentage of the time the cafeteria has pizza out = 80%

The outcome of 0 and 1 = No pizza available

The outcome of 2, 3, 4, 5, 6, 7, 8, and 9 = Pizza available

Therefore, we have the;

Group number
{} Percentage of time pizza available

1
{} 80%

2
{} 80%

3
{} 80%

4
{} 80%

5
{} 40%

6
{} 100%

7
{} 80%

8
{} 100%

9
{} 80%

10
{} 80%

Therefore, the sum of the percentages outcome the days Ginger eats pizza = 0.8 + 0.8 + 0.8 + 0.8 + 0.4 + 1 + 0.8 + 1 + 0.8 + 0.8 = 8

The number of runs of simulation = 10 runs

The estimated probability that Ginger will eat a a pizza everyday of the week = (The sum of the percentages outcome the days Ginger eats pizza)/(The number of runs of simulation)

∴ The estimated probability that Ginger will eat a a pizza everyday of the week = 8/10

User Kadija
by
5.1k points