关于拉格朗日插值公式的

问题描述:

关于拉格朗日插值公式的
呵呵,上高等代数课刚好没带眼镜,拉格朗日插值公式没听懂.比如说F(2)=3,F(1)=4,F(5)=0,F(3)=2,该杂昨做?

F(x)=4(x-2)(x-3)(x-5)/[(1-2)(1-3)(1-5)]+3(x-1)(x-3)(x-5)/[(2-1)(2-3)(2-5)]+2(x-1)(x-2)(x-5)/[(3-1)(3-2)(3-5)]
=-(x-2)(x-3)(x-5)/2+(x-1)(x-3)(x-5)-(x-1)(x-2)(x-5)/2