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星)
所有跟帖:
• 回複:Quant麵試題:喝醉了(2.5星) -說了就走- ♂ (169 bytes) () 08/07/2009 postreply 10:27:26
• 回複:回複:Quant麵試題:喝醉了(2.5星) -crazy_math- ♂ (58 bytes) () 08/07/2009 postreply 19:31:13