Professional Documents
Culture Documents
(extrapolation)
4.2
(Newtons divided-difference interpolation
polynomial)
f(x)
4.2.1
f(x) (linear
interpolation) 2
X0 X1
J0 X
2
2
X0 = 2.0 X1 = 4.0
2 J0(2.0) = 0.2239
J0(4.0) = -0.3971
4.1
f(X0 = 2.0) = 0.2239 f(X1 = 4.0) =
-0.3971 4.2
X=3.2
4.1
(4.3)
X=3.2
f( x=3.2 ) = 0.2239 + (3.2 2.0) (-0.39710.2239)/(4.0-2.0)
= 0.2239 - 0.3726
f(3.2) = -0.1487
(4.4)
-0.3202
4.1
= ( -0.3202 + 0.1487 ) / ( -0.3202 ) *100% =
53.56%
(4.5)
4.2.2
f(x)
(quadratic interpolation)
3 X0, X1 X2
x X0 ,X2
3 f( x0 =
2.0 ) = 0.2239 , f( x1=3.0 ) = -0.2601 f( x2 =
4.0 ) = -0.3971
f(x)
(quadratic interpolation)
x = x0 :
f(x0) = C0 + 0 + 0 = C0
(4.7a)
x = x1 :
(4.7b)
x = x2 :
x2-x1 )
C2
f(x0)) / (x1-x0) ]
/ ( x2-x0 )
(4.7c)
C0 , C1 C2
(4.6)
4.3
4.5
x=3.2 4.1
x=3.2
x=3.2
4.6
4.1
x=3.2 10
x=3.2 -0.3201
-0.3201
= [( -0.3201 + 0.3201 ) / -0.3201] *100%
= 0.03%
(4.16)
4.2
4.3
4.3.1
2
f(x) = ax = b
(4.17)
a b
x0 x1
x = x0 : f(x0) = ax0 + b
(4.18a)
x = x1 : f(x1) = ax1 + b
(4.18b)
(4.19)
(4.21)
L0(x) L1(x)
(Lagrange interpolation
polynomials)