Home /
Expert Answers /
Computer Science /
python-part-b-repeatedly-rolling-a-die-would-result-in-a-uniform-distribution-of-values-betwee-pa690
(Solved):
python
PART B Repeatedly rolling a die would result in a uniform distribution of values betwee ...
python
PART B Repeatedly rolling a die would result in a uniform distribution of values between 1 and 6, inclusive. Repeatedly rolling two (2) dice would result in a uniform distribution of values between two (2) and twelve (12) inclusive. a. In this simulation, repeatedly roll one (1) die, count the number of occurrences of each value and plot the histogram: i. After 100 simulations. ii. After 1,000 simulations. b. In the next simulation, repeatedly roll four (4) dice, sum the results of the four (4) dice faces, count the number of occurrences of each value and plot the histogram: i. After 100 simulations. ii. After 1,000 simulations. Each simultaneous roll of four (4) dice is counted as one simulation. c. Compute the following probabilities based on your simulations: i. If one die is rolled what is the probability that ? The outcome is even? - The outcome is odd? ii. If four dice are rolled what is the probability that ? The total showing is even? - The total showing is odd? number of times event i occurred probability of occurrence of event i=