Answer:
Step-by-step explanation:
From the given information,
Considering both cases when p = 0.5 and when p ≠ 0.5
the probability that the gambler will quit an overall winner is:
[tex]P = \dfrac{1 - (\dfrac{1-p}{p} )^K}{1- (\dfrac{1-p}{p})^N } \ \ \ is \ p \neq 0.5 \ and\ K/N = \dfrac{1}{2}[/tex]
where ;
N.k = n and k = m
Hence, the probability changes to:
[tex]P = \dfrac{1 -(\dfrac{1-p}{p})^m}{1 -(\dfrac{1-p}{p})^{m+n}}[/tex] is p ≠ 0.5 and k/N = [tex]\dfrac{m}{m+n}[/tex] is P = 0.5