回复:回复:Quant面试题:喝醉了(2.5星)

回答: Quant面试题:喝醉了(2.5星)康MM2009-08-06 17:47:51

The result is correct but I feel that "E(50) = E(49)+1" is not.

Correct equations should be:

E(0)=E(100)=0,
E(n)=0.5*(E(n-1)+E(n+1))+1, n=1,2,...,99

To solve, one can put all above into matrix form and get E(1),E(2),...,E(99) at one go.

所有跟帖: 

回复:Quant面试题:喝醉了(2.5星) -说了就走- 给 说了就走 发送悄悄话 说了就走 的博客首页 (169 bytes) () 08/07/2009 postreply 10:27:26

回复:回复:Quant面试题:喝醉了(2.5星) -crazy_math- 给 crazy_math 发送悄悄话 (58 bytes) () 08/07/2009 postreply 19:31:13

请您先登陆,再发跟帖!