Example 7
Calculate the theoretical probability of rolling a 4 on a single roll of a die. Simulate rolling a die, and use the results to calculate the experimental probabilities of rolling a 4 over 10, 20,..., 200 trials. Graph the experimental probabilities versus the number of trials. Solution