You are here

Gambler's Ruin - Introduction and demonstration

Simple, straightforward definition of the problem with a solution. No explanation of how the solution is found. An associated applet can be found in the right hand column which requires a download of the Wolfram demonstration project. In the applet, the user can chose the initial stake for player 1 and player 2, the number of games played, player 1's fixed probability of winning a game, and the number of games played. The probability player 1 beats player 2, the expected number of games until player 1 has zero left and the current number of stakes left after a fixed number of games are given. The number of games can be set to 50, 100, 500, 1000 or 5000 are given. Clicking the box in the applet next to the number allows the user to set the number for allows player's and casino's initial stakes.
Average: 2.9 (233 votes)
Wolfram MathWorld
Carolyn Cuff
Wolfram Research, Inc.
2011 Wolfram Alpha LLC—A Wolfram Research Company