Master Mathematics.

Quantitative Finance · Hard · Conditional Probability & Bayes · Problem 1

Ruin at a given round

A gambler starts with , where is an integer. Each round, the gambler wins or loses with respective probabilities and . Once the gambler has left, he leaves the table. Find the probability that the gambler is ruined after rounds of playing the game, where is an integer. The probability can be written as a function . Compute to the nearest ten-thousandth.

Source: QuantQuestions.io