\[P = \frac { 1-{ (\frac { q }{ p } ) }^{ s } }{ 1-{ (\frac { q }{ p } ) }^{ M } } \]
\[P = \frac { 1-{ (\frac { 0.6 }{ 0.4 } ) }^{ 1 } }{ 1-{ (\frac { 0.6 }{ 0.4 } ) }^{ 8 } } \] Which amounts to 0.02
q=0.6
p=0.4
s=1
M=8
P_timid = c()
for (i in s:M) {
P_timid[i] = round((1-(q/p)^i)/(1-(q/p)^M), 4)
}
P_timid
## [1] 0.0203 0.0508 0.0964 0.1649 0.2677 0.4219 0.6531 1.0000
hence P_timid = 0.0203
This can be solved using binomial distrubution also, As smith has one dollar and he will bet it and will lose or gain whatever he bets i.e. first time if he will bet $1 and if he wins he will have 2 dollars and to achieve 8 dollars for his release he will bet next $2 and if he wins then he will have $4 and then next time he will bet $4 and if he wins he will have $8 required for this release. Thus Smith has to win in sequence of 1,2,4,8. Thus smith has to win 3 times in row to secure $8 for his release.
dbinom(3,3,0.4)
## [1] 0.064
# anothwer way is
p^3
## [1] 0.064
Thus by P_bold strategy approach he will have a probability of 0.064 , slight increase from P_timid but still an increase.
Smith has got slight better through P_bold approach than P_timid approach.