Question: Write a Matlab code that will allow a user to enter in a critical number between 0 and 1, and then track the number of

Write a Matlab code that will allow a user to enter in a "critical number" between 0 and 1, and then track the number of times that a random number must be generated in order to be greater than the "critical number". Output the number of attempts that were necessary, and the numbers that were not successful. Be sure that you code is working correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
