Statistics in all its ball-bouncing glory RRS feed

  • General discussion

  • This program was inspired by a contraption I saw at my local science museum (OMSI to be precise) where you put a dime in at the top and the coin bounces down a bunch of rows of pegs, jumping either left or right at random at each impact until it goes into one of a series of bins at the bottom -- the distribution of coins in the bins approximates a normal distribution (technically a binomial distribution I believe but throw enough coins in and add enough rows of pegs and it'll be close enough to normal).

    I thought it was very cool demonstration showing how a normal distribution arises from a cumulation of discrete chance events but then I ran out of loose change...

    Program ID = KQN159.  Thanks to those posters on this forum that I lifted cool ideas from -- using timer to drive events, interesting ways of defining arrays I hadn't thought of, etc.  I made the program somewhat configurable so you can play with it a bit, see program documentation for some thoughts.


    Saturday, April 17, 2010 3:42 AM

All replies

  • COOL!!! every ball goes in a hole no matter what happens
    • Edited by phillips101 Wednesday, April 21, 2010 12:32 AM
    Saturday, April 17, 2010 11:16 PM
  • Very smooth, interesting
    Sunday, April 18, 2010 6:43 AM