A gambler bets on coin flips. With each flip, he wins $1 with probability p, and loses $1 with probability 1-p. He starts with $2 and stops when he reaches either $0 or $5.
a) What is the probability that the gambler has $5 in the end?
b) What is the expected number of coin flips he bets on?
Comments
Leave a comment