''' 
 Name : 

 PHYS 114 - Rec 4
 Counting game  -

 - Generate N=20 particles that have a 50% chance of being in box A or box B. You do not
   need to display these particles, simply record the box that the particle is in.

 - Record (i.e. save in a list) the number of particles in box A.

 - Repeat this 50,000 times, again only saving the number of particles that landed in box
   A. You will now have a list of of size 50,000 where each value ranges from [0, N]. Call
   this list a_count.

 - Plot a histogram of the values:
      from pylab import *
      hist(a_count+[0,]+[N,],N); xlim(0,N); show()

 - Interpret this graph physically:

   What type of function makes a graph like this:

   How many times did you get all the particles in box A:

   How many times did you get 10 particles in box A:

   What is the theoretical prediction for getting 10 particles in box A:

   What is the percent error from the theoretical prediction to the observed
   value for 10 particles in box A:
'''





