回复:回复:Quant面试题:喝醉了(2.5星)
crazy_math
2009-08-07 01:55:38
( reads)
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.
说了就走
2009-08-07 10:27:26回复:Quant面试题:喝醉了(2.5星)