8.4 Gambling Game
Dafna starts out with zero dollars. Every day she gains a dollar with probability p, stays put with probability s, or loses all her money (goes broke) with probability b, where p + s + b =1. Dafna plays the game forever. Use a DTMC to determine the stationary probability that Dafna has i dollars. What happens to your solution when s =0? What is Dafna’s long-run expected money?
8.4 Gambling Game Dafna starts out with zero dollars. Every day she gains a dollar with probabili...
Rules of the leprechaun world The game starts out with n leprechauns. Each leprechaun starts out with a million dollars of gold (i.e., gi = 1,000,000). The player wants to trap as many of these leprechauns in a pit and steal their gold! The leprechauns are all in a row, with each leprechaun at location xi, a double precision floating point number. Initially, the first leprechaun is at x=0, the second at x=1000, the third at 2000, ...; i.e., xi...