Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
<math>= a_0+a_1x+a_2x^2+\cdots</math> | <math>= a_0+a_1x+a_2x^2+\cdots</math> | ||
Let a coin with | Let a coin with shows H and T with probabilities 1/2, 1/2 , be tossed repeatedly. Let B be the sequence HTH. We want to compute the expected time to get the sequence HTH ENB. Imagine that a gambler bets 1 dollar on the sequence B occurring to the following rules of fair odds. At the first toss, if heads appears, he receives 2 dollars (including his bet) and must parley the 2 dollars on the occurrence of Tails on next toss. In case he wins he receives 12 dollars and must partly the whole amount of 12 dollars on the occurance of heads on the next toss. If he wins, he recieves the toal amount of 2 dollars and the game is over. |
Revision as of 17:04, 5 July 2009
0 | 1 | 2 | 3 | 4 | |
---|---|---|---|---|---|
0 | 12/36 | 6/36 | 8/36 | 10/36 | 0 |
1 | 3/36 | 27/36 | 0 | 0 | 6/36 |
2 | 4/36 | 0 | 26/36 | 0 | 6/36 |
3 | 5/36 | 0 | 0 | 25/36 | 6/36 |
4 | 0 | 0 | 0 | 0 | 1 |
<math>= a_0+a_1x+a_2x^2+\cdots</math>
Let a coin with shows H and T with probabilities 1/2, 1/2 , be tossed repeatedly. Let B be the sequence HTH. We want to compute the expected time to get the sequence HTH ENB. Imagine that a gambler bets 1 dollar on the sequence B occurring to the following rules of fair odds. At the first toss, if heads appears, he receives 2 dollars (including his bet) and must parley the 2 dollars on the occurrence of Tails on next toss. In case he wins he receives 12 dollars and must partly the whole amount of 12 dollars on the occurance of heads on the next toss. If he wins, he recieves the toal amount of 2 dollars and the game is over.