Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question 4 of 10 pedro buys lunch at school every day. he always gets p…

Question

question 4 of 10
pedro buys lunch at school every day. he always gets pizza when it is available. the cafeteria has pizza about 80% of the time.
pedro runs a simulation to model this using a random number generator. he 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

the table shows the results of the simulation.

9503247150717093888994007
3501357890729241936547879

what is the estimated probability that pedro will eat pizza for lunch every day next week?
a. 0.7
b. 0.3
c. 0.4
d. 0.0

Explanation:

Step1: Count total simulations

There are 10 simulation groups (5 in first row, 5 in second row), so total trials \( n = 10 \).

Step2: Identify all-pizza days

Check each 5 - digit number (each represents a week). A week has all pizza if no 0 or 1.

  • 95032: has 0 → no
  • 47150: has 1 and 0 → no
  • 71709: has 1 and 0 → no
  • 38889: no 0/1 → yes
  • 94007: has 0 → no
  • 35013: has 0 and 1 → no
  • 57890: has 0 → no
  • 72924: no 0/1 → yes
  • 19365: has 1 → no
  • 47879: no 0/1 → yes

Count of all - pizza weeks: 3 (38889, 72924, 47879).

Step3: Calculate probability

Probability \( P=\frac{\text{Number of all - pizza weeks}}{\text{Total weeks}}=\frac{3}{10} = 0.3 \).

Answer:

B. 0.3