Throw a coin 50 times, recording 1 for head and 0 for tail. Determine the probability of obtaining heads by dividing the cumulative heads by the number of throws and plot this number as a function of the number of throws. The curve should approach 0.5.