Coin Toss




This program explains itself. When you
click the "Toss" button , a random number is
generated { U(0,1) } . If the number is less than 0.5
we have heads and tails if U >= 0.5 . Its simple
really but i wrote it to demonstrate the frequency
with which each side "wins".