Each round a uniformly distributed random number is picked between 0 and 1. The game ends when the sum of the random numbers is greater than 1. Find the average number of rounds the game will end in. Note: Use 100,000 trials of the game.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
2548 Solvers
-
Least common multiple of many numbers
256 Solvers
-
Back to basics 9 - Indexed References
463 Solvers
-
Who knows the last digit of pi?
692 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
228 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!