Question: matlab: Write a script that will use the random-number generator rand to determine the following: a. The number of random numbers it takes to add

matlab:matlab: Write a script that will use the random-number generator rand to

Write a script that will use the random-number generator rand to determine the following: a. The number of random numbers it takes to add up to 20 (or more) b. The number of random numbers it takes before a number between 0.8 and 0.85 occurs c. The numb of random numbers it takes before the mean of those numbers is within 0.01 of 0.5 (the mean of this random-number generator) It will be worthwhile to run your script several times because you are dealing with random numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!