a continuous versio of Quant麵試題:喝醉了(2.5星)

assume the drunk guy follows brownian motion, then to find E[\tau], we just need to solve a differential equation, since it is just one-dimension, the equation is just ODE:
-1/2 u_xx=0
u(0)=u(100)=0

E[\tau]=E[1]=99

所有跟帖: 

a mistake:-1/2 u_xx=0 should be -1/2 u_xx=1 -雪山飛魚- 給 雪山飛魚 發送悄悄話 雪山飛魚 的博客首頁 (0 bytes) () 08/08/2009 postreply 09:26:34

用計算機模擬了一下 -haobanfa- 給 haobanfa 發送悄悄話 (0 bytes) () 08/15/2009 postreply 16:23:49

1,000,000次 iteration 的結果是 98.6 步,你的答案因該是對的,隻不過 -haobanfa- 給 haobanfa 發送悄悄話 (59 bytes) () 08/15/2009 postreply 16:27:31

回複:1,000,000次 iteration 的結果是 98.6 步,你的答案因該是對的,隻不過 -雪山飛魚- 給 雪山飛魚 發送悄悄話 雪山飛魚 的博客首頁 (478 bytes) () 08/18/2009 postreply 10:00:58

回複:a continuous versio of Quant麵試題:喝醉了(2.5星) -tianxing- 給 tianxing 發送悄悄話 (4 bytes) () 10/24/2009 postreply 23:48:32

請您先登陸,再發跟帖!