exercise:1433f04102: Difference between revisions
From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> 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 t...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
In the early 1600s, Galileo was asked to explain the fact that, | |||
fact that, | |||
although the number of triples of integers from 1 to 6 with sum 9 is the same | although the number of triples of integers from 1 to 6 with sum 9 is the same | ||
as the | as the | ||
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 23:46, 19 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?