中心差分公式


精度为O(h2)的中心差分公式:

中心差分公式 - Castor - 趁年轻,多折腾
 精度为O(h 4)的中心差分公式:

中心差分公式 - Castor - 趁年轻,多折腾
 使用实例:
一个物体的运动距离如下表:

t

8

9

10

11

12

D(t)

17.453

21.460

25.752

30.301

35.084

(1)通过数值微分求v(10)
(2)比较计算结果和D(t)=-70+7t+70e -t/10

使用公式2,取步长h=1,有:

中心差分公式 - Castor - 趁年轻,多折腾
  求微分:
中心差分公式 - Castor - 趁年轻,多折腾
 将t=10代入有V(10)= 4.42484。

中心差分公式 - Castor - 趁年轻,多折腾