1. How long will it take to compute the chance of doubling 1 million dollars one dollar at a time?
Can someone help me with this
Using this code how can I use the stopwatch module to filll out this table
Use the stopwatch module to estimate how long your program runs.
stake - initial amount you start with
goal - the amount you want to end with (you will either lose it all or make your goal)
trials - the number of times you want to run the experiment - run the experiment 100 times to get a more accurate estimate of the probability. Do any empirical analysis using the doubling method. Start with the stake = 500 and goal 1000 and continue to double until the stake = 1000000.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
So how long in seconds will it tak to compute 5000 dollars and then one milllion dollars