Question: Can i please get the oython script to this? python core Simulate 100,000 rolls of 2 fair dices and take the sum of the numbers

Can i please get the oython script to this?
python core
Can i please get the oython script to this? python core Simulate

Simulate 100,000 rolls of 2 fair dices and take the sum of the numbers of the front face of the dices Store in the list my_hist the sum for each trial. Len(my_hist) should be then 100,000 (check it out with a print) Store in the list my_freq the frequency distribution of my_hist. Len(my_freq) should be therefore 11, since it should represent the frequency of the numbers that are in the range 2, 12 Print the hacked probability of 2 and 12 and compare it with the true value of the probabilitya Plot a histogram of the frequency distribution, in blue, and a scatter plot of the frequency distribution, in red

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!