Hi everyone, I'm a gambler and I start with $x$ money, i put down a dollar and get 2 dolalrs back with p=0.5, and lose my dollar with p=0.5. I am interested in how long it will take me to either A) go broke or B) reach N dollars. Take T to be this stopping time.
I showed $(X_n^2-n)$ is a martingale and that I reach N dollars with probability $x/(N+x)$, but now how do I get the EV of how long it takes to finish the game?