Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 684 Bytes

File metadata and controls

6 lines (4 loc) · 684 Bytes

Dice Simulation

One domain of math 7 in the CCSS is probability and statistics. We look at decks of cards, and rolling dice. Python offers a great way to run probability simulations. I am hoping that playing with simulations through code will provide context for the law of large numbers. The script below offers a sample of how to simulate rolling two six-sided dice and then plot the frequency of each sum. The number of trials is easily adjustable.