exercise:1433f04102: Difference between revisions

From Stochiki
No edit summary
No edit summary
 
Line 4: Line 4:
number of such triples with sum 10, when three dice are rolled, a 9 seemed to
number of such triples with sum 10, when three dice are rolled, a 9 seemed to
come up less often than a 10---supposedly in the experience of gamblers.
come up less often than a 10---supposedly in the experience of gamblers.
<ul><li> Write a program to simulate the roll of three dice a large number of
<ul style="list-style-type:lower-alpha"><li> Write a program to simulate the roll of three dice a large number of
times and keep track of the proportion of times that the sum is 9 and the
times and keep track of the proportion of times that the sum is 9 and the
proportion of times it is 10.
proportion of times it is 10.

Latest revision as of 00:46, 20 June 2024

In the early 1600s, Galileo was asked to explain the fact that, although the number of triples of integers from 1 to 6 with sum 9 is the same as the number of such triples with sum 10, when three dice are rolled, a 9 seemed to come up less often than a 10---supposedly in the experience of gamblers.

  • Write a program to simulate the roll of three dice a large number of times and keep track of the proportion of times that the sum is 9 and the proportion of times it is 10.
  • Can you conclude from your simulations that the gamblers were correct?