428,944 views
18 votes
18 votes
HELPPPP PLEASE

Part E
How could you use a random number generator with the digits 0 to 9 to simulate the scenario?

User Ziyad
by
2.8k points

2 Answers

15 votes
15 votes

Answer: Here's one possible simulation:

The probability of Americans exercising the given amount is 50%, which means that the probability of Americans not exercising the given amount is also 50%. In other words, the ratio of Americans who exercise the given amount to those who don’t is 1 : 1. Simulate this situation using a random number generator where the numbers 0 to 4 represent a person who exercises the given amount and the numbers 5 to 9 represent a person who doesn’t. Generate sets of three numbers, one for each person. If all three of the numbers are between 5 and 9, this result would mean all three people do not exercise as much as 50% of Americans do.

Step-by-step explanation: From Edmentum

User Mchangun
by
2.6k points
16 votes
16 votes

Answer:

In Matlab, the command rand(1) returns a random number between 0 and 1 assuming uniform distribution. We can build other random variables using rand. For example, to get a random number between a and b we can use a+rand(1)(b − a). To get a 0 or 1 on a random way in Matlab, you can use round(rand(1)).

Explanation:

User Raphaelauv
by
2.8k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.