forget to mention that for the 2nd part "2)假设Jenny恰好有1)中算出来的钱,赌场每分钟赌一次。什么时候赌场破产的概率最大www.ddhw.com
I need to write a program to do the calculations, because P(1) = 1/W-1 = 1/0.501 - 1 = .996
P(1)^(N+1) = .5 gives N = 173.3, thus N should be 174
which means whenever Casino's net lose reaches 175, it has more than 50% possibility to close its door.
since 175 is quite a big number, and I don't find a close form to calculate the losing possibilty for general steps, thus I must fall back on computer program to do the calculations.