



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




(x 1 , y 1 ), (x 2 , y 2 ),... , (xn+1, yn+1),
where xi 6 = xj for any i 6 = j, to find a polynomial p(x) of degree at most n such that p(xi) = yi for all i
p(x) =
n∑+
k=
ykLk(x),
where Lk(x) =
n∏+
i=1, i 6 =k
x − xi xk − xi
for example, case when n = 1
xi 2 2.5 4 yi 0.5 0.4 0.
x + (1 − x)^2
f (x) − p(x) =
f (n+1)(ξ(x)) (n + 1)!
n∏+
k=
(x − xk)
0
1
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
y[xi, xi+1] =
y[xi+1] − y[xi] xi+1 − xi
, i = 1, 2 ,... , n;
y[xi, xi+1, xi+2] =
y[xi+1, xi+2] − y[xi, xi+1] xi+2 − xi
, i = 1, 2 ,... , n − 1;
and so on
p(x) = y[x 1 ] + y[x 1 , x 2 ](x − x 1 ) + y[x 1 , x 2 , x 3 ](x − x 1 )(x − x 2 ) +...
+y[x 1 , x 2 ,... , xn+1](x − x 1 )(x − x 2 ) · · · (x − xn)
x 1 y[x 1 ] x 2 y[x 2 ] y[x 1 , x 2 ] x 3 y[x 3 ] y[x 2 , x 3 ] y[x 1 , x 2 , x 3 ] x 4 y[x 4 ] y[x 3 , x 4 ] y[x 2 , x 3 , x 4 ]... ;
for example, x 1 = − 2 , x 2 = − 1 , x 3 = 0, x 4 = 1, x 5 = 2, with
y 1 = 0. 142857 , y 2 = 0. 333333 , y 3 = 1, y 4 = 1, y 5 = 0. 333333
si(x) = ai + bi(x − xi) + ci(x − xi)^2 + di(x − xi)^3 , xi ≤ x ≤ xi+
such that si(xi) = yi and si(xi+1) = yi+1, where i = 1, 2 ,... , n; addi- tionally,
(1) s′ i(xi+1) = s′ i+1(xi+1), i = 1, 2 ,... , n − 1 (2) s′′ i (xi+1) = s′′ i+1(xi+1), i = 1, 2 ,... , n − 1 (3) two more conditions, such as
s′′′ 1 (x 2 ) = s′′′ 2 (x 2 ) and s′′′ n− 1 (xn) = s′′′ n (xn)
xi − 55 − 45 − 35 − 25 − 15 − 5 yi − 3. 25 − 3. 37 − 3. 35 − 3. 2 − 3. 12 − 3. 02 xi 5 15 25 35 45 55 65 yi − 3. 02 − 3. 07 − 3. 17 − 3. 32 − 3. 3 − 3. 22 − 3. 1
50 100 150 200 250 300 -
0
50
100
40 60 80 100 120 140 160 180 200 220
50 100 150 200 250 300 -
0
50
100
40 60 80 100 120 140 160 180 200 220