69.5k views
1 vote
At a middle school, 30% of students buy lunch in the cafeteria and the remaining students bring lunch from home. A spinner with 10 equal-sized sections numbered 0-9 will be used to simulate the lunch trend. How can you design a simulation to guess whether the next 20 students buy lunch or bring lunch from home?

1 Answer

4 votes

Allocating 3 portions to x and 7 portions to y.

Explanation:

Given that,

The percentage of students buy lunch at cafeteria: 30% = x = 0.3

Hence, the students bringing the lunch from home would be = y = 1 - 0.3 = 0.7

Now, the spinner has that equal-sized sections. Also, the probability of x and y are 0.3 and 0.7.

After multiplying both the probability by 10, we get

x = 3

y = 7

It shows that for every three students who buy lunch from cafeteria, seven students bring food from home. Hence, we can allocate the side of spinner for simulation in such as way:

Section 0 = y

Section 1 = y

Section 2 = x

Section 3 = y

Section 4 = y

Section 5 = x

Section 6 = y

Section 7 = y

Section 8 = x

Section 9 = y

User Basic Bridge
by
4.9k points