back to index

Simulation 7 - Multiple Dice Toss

In this program you can generate the normal distributions that are discussed in Chapters 3 and 7. You throw n dice at random. The program calculates the sum of the outcomes and records how many times each sum has appeared. The frequencies of occurrence of each sum, is then plotted as a function of the sum. Start with 2 and 4 dice and see how the frequencies as a function of the sum changes when the number of dice increases to 16 and 32. For larger number of dice, see Figures 3.7 and 3.8.

         

Graph:



Toss Results: