samedi 13 mai 2023

Coin Flipper

Quote:

Originally Posted by acbytesla (Post 14069532)
.... A single coin toss produces an unpredictable result. But we can predict the approximate results of ten thousand coin tosses. Now, is this random?


The above post led me to write a little WebApp to play with to see the result of coin tosses varying from 10 at a time to 10,000,000 at a time

So you can set the number of coin tosses you would like to see the results for and then tell the app to flip the coin that many times.... it will give you a table of the % of heads and tails for each round you go... and also a running average for the rounds.

Use it to see how even if you go up to 10,000,000 tosses you still are not going to get a precise 50% and even the running average still is not 50%.

If you try 10,000,000 it might take some time depending on the computer you are using... on a good computer should not take more than 0.5 secs for each try... on my computer takes much less and it is a 5 years old computer.... on my iPhone 6plus it takes fraction of a second and on my iPad6 it takes much less than a second.


via International Skeptics Forum https://ift.tt/ZzOK7pN

Aucun commentaire:

Enregistrer un commentaire