This is a "Building Block" for the Buffon Needle problem. The source code and compile code are included as well as separate files for each. Users able to test the applet to determine if it meets their needs.
This applet allows the user to choose from several discrete distributions and to see what happens to the distribution of a sum of these random variables. The labels on the x-axis are misleading for underlying distributions, such as the geometric, which cannot be negative.
The program CenLimit shows the effects of the central limit theorem. The user may select from various distributions to draw different numbers of observations for calculating the means. The distribution of the means is plotted. You may use this program to find out the relationship between the number of observations and the resulting standard deviation of the means.