Chocolate Cream filled 1.00

Strawberry 10.00
Kale frosted 6.00
Blueberry 3.00
Cream filled surprise 5.00






________________________________________
Based on the following chart: You wish to create a Vlookup table to simulate the type of donut a customer selects, based on a generated random number. The first such random number is 0.88. What donut would the customer buy?
a) Chocolate Cream filled
b) Strawberry
c) Kale Frosted
d) Blueberry
e) Cream Filled Surprise

1 answer

To determine which donut the customer would buy based on the random number of 0.88, we first need to calculate the cumulative probabilities for each type of donut from the provided data.

Here are the donut types and their respective weights:

  • Chocolate Cream filled: 1.00
  • Strawberry: 10.00
  • Kale frosted: 6.00
  • Blueberry: 3.00
  • Cream filled surprise: 5.00
  1. Calculate the total weight:

    Total weight = 1 + 10 + 6 + 3 + 5 = 25

  2. Calculate the cumulative probability for each donut:

  • Chocolate Cream filled: \( \frac{1}{25} = 0.04 \)
  • Strawberry: \( \frac{10}{25} = 0.40 \) (Cumulative: 0.04 + 0.40 = 0.44)
  • Kale frosted: \( \frac{6}{25} = 0.24 \) (Cumulative: 0.44 + 0.24 = 0.68)
  • Blueberry: \( \frac{3}{25} = 0.12 \) (Cumulative: 0.68 + 0.12 = 0.80)
  • Cream filled surprise: \( \frac{5}{25} = 0.20 \) (Cumulative: 0.80 + 0.20 = 1.00)
  1. Create a cumulative probability range:
  • Chocolate Cream filled: 0.00 to 0.04
  • Strawberry: 0.04 to 0.44
  • Kale frosted: 0.44 to 0.68
  • Blueberry: 0.68 to 0.80
  • Cream filled surprise: 0.80 to 1.00
  1. Find where the random number 0.88 falls in the cumulative probability ranges:

Since 0.88 falls between 0.80 and 1.00, the customer would select:

Cream filled surprise.

The answer is e) Cream Filled Surprise.