凡是有Jenny的题,就很有意思。 喜欢喜欢 |
我使用了较多的计算。constant 的方法应该很简明。 我只是介绍一下我的想法。细节就免了,大家还是看看 constant 的解法吧。 如果赌场没钱时,破产概率为 P(1), 那末 有一块钱, 破产概率为 P(2) = P(1)^2 有 N 块钱, 破产概率为 P(N+1) = P(1)^(N+1) 赌场没钱时破产概率 P(1) 和 赌场有一块钱时破产概率 P(2) 有一个简单关系, 从而我们得到 P(1). [P(1)-L-W*L*L]/W = P(2) - L*L, where L = 一次赌场输的概率, W = 一次赌场赢的概率. |
forget to mention that for the 2nd part "2)假设Jenny恰好有1)中算出来的钱,赌场每分钟赌一次。什么时候赌场破产的概率最大 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. |
欢迎光临 珍珠湾ART (http://zzwav.com/) | Powered by Discuz! X3 |