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:
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
Get step-by-step solutions from verified subject matter experts
