Question: Please plot in python, preferably in a jupyter notebook. 2) Roll two six-sided dice 100 times and plot the probability distribution for the sum of

Please plot in python, preferably in a jupyter notebook.Please plot in python, preferably in a jupyter notebook. 2) Roll two

2) Roll two six-sided dice 100 times and plot the probability distribution for the sum of the two dice (i.e. how often does 2,3,4...12 come up) a) Plot the theoretical expectations for this probability distribution on the same plot as your measured probability distribution. Compare on how well theory and experiment agree. b) Modify the program (actually make a new program, but start with the old one) used in lb) so that it simulates throwing two dice. Again, use the program to roll the dice 1,000, 10,000, and 100,000 times. Overlay these results on the plot from 2a) and comment on how these results compare with the theoretical expectations. 2) Roll two six-sided dice 100 times and plot the probability distribution for the sum of the two dice (i.e. how often does 2,3,4...12 come up) a) Plot the theoretical expectations for this probability distribution on the same plot as your measured probability distribution. Compare on how well theory and experiment agree. b) Modify the program (actually make a new program, but start with the old one) used in lb) so that it simulates throwing two dice. Again, use the program to roll the dice 1,000, 10,000, and 100,000 times. Overlay these results on the plot from 2a) and comment on how these results compare with the theoretical expectations

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!