Saturday, March 14, 2015

Estimating pi using the MC technique - part 3



Continuing the example from the previous post, histograms for three such throws are presented here. In each of these experiments, a VBA macro was incorporated to determine the distribution and the predicted value of pi. Sample sizes of 1000, 10000 and 100000 were used as a starting point, and each sample was randomized 100 times to determine the results.

As the sample size increases, the statistical analysis approaches closer to a bell-curve distribution, while the mean value of pi gets closer to the “expected” value. 




Incidentally, today is 3/14 - pi day. A special one, at 9:26:54 (or 53?!) am or pm. 

No comments:

Post a Comment