Question: Question 1: Write a Java program that computes the exact probability distribution for the sum of two dice. Run experiments to validate this calculation simulating
Question 1:
Write a Java program that computes the exact probability distribution for the sum of two dice. Run experiments to validate this calculation simulating N dice throws, keeping track of the frequencies of occurrence of each value when you compute the sum of two random integers between 1 and 6. How large does N have to be before your empirical results match the exact results to three decimal places?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
