



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Numerical method notes about polynomials and first and second divided differences
Typology: Lecture notes
1 / 6
This page cannot be seen from the preview
Don't miss anything!




X (^2) y ↑ (^3) y L (^22) Y (^3 ) p(x) = (x-0.5)(X-0.8) (1.9048) + (x- 0.1)(X-0.0 (1.6065) + (X-0.11(1-0.5) (^) (1.4493) 10.1-0.5)(0.1-0.8) 10.5-0.1)^ (0.5^ -0.8)^ 10.8-0.1)(0.8-0.5) -In (^) general for^ the^ degree Polynomial -L (^) is lagrange Pn(x) =(, (^) (x)y, +h2(X)yzt.... that, (X)^ yn+1 = rimy; ricx= (^) ( Eil For (^) example, = inri (e
= (815) (^) (8.88) Newton's (^) Divided (^) Difference Interpolating Polynomials xI (^) p(x)= a, + A2(X - x,) + ag(X- x,)(X - xz) + ay(X- x,)(X - xc)(X - xz)+.... xYI
= a, + 92(X2 - x,) + 0 + 0 .... (^) = y, + dc(x - x) = Y : (^) Ac = yc-y, In (^) Yn x2 - 4
↑ ↑ y I as =^ ys-y,^ - ?!)(Xs-x,)
as-(2-(ii) x 3 -^ Y
f(xi+1,xiJ:Yi+1-y;eslope^ ofthe^ line Xi+1 - xi check i^ =^1
= Second Divided^ Difference f(xi+2, Xi^ +1,^ Xi]^ =^ f[xi+2,^ xi+1]^ -f[xi+,x] Xitz -^ Xi meck 1.(xx, (^) x2, x.) =+(x3, x,3-+(x--x3 = x3 -^ x,^ ?)-(!) x3 -^ x
Kin (^) Divided Difference f X= (^) +1, XK (^) ,. (^).. x2, (^) x,] = f[XF+1, ...,x2] - f(xx,.^.. ., x] XR+ 1 - XI P(x) = a, + 12(X
y,=a, X 1stDD -E P 10.4268)
=^ -^ 0.
= 0. 0.2 0.^ 0.4650 -^ 0.2258^ = 0.7973 0.8-0. (^13 ) (0.5-0. 0.5330 (^) -0.7973 = -0. 0.0 -0. 0.5 (^) 0. 0.6249 -0.4658 (^) = 0. 0.8-0. 0.8 0. P(x)
(-0.1254)(X -0)(X^ -0.1)(X-0.2)(x
X (^) y 0.1 1.9048 I^ a 1.3065-1. 0.5 1. 0.5-0. =A (-0.524)
A - I = b bl (^) C. (^) A2 b2 22 93 by (^23) 2 I (^0000 0 0) a (^) = 0 42 = 2.05 (^) 4) =^ - 2. 3 100000 0
b, =^ -^ 2.7^ b2^ =^ -^15 b^3 =^ 33. O O (^9 3100 0) I (^) c, =10.4 22 = 28.85 23 =^ - 91. 00 15510 0 0 b !
(^00 00 0255 )
I 0 - 6 -^10 000 53 =^ - 2.77bX2 + 33.26x - 91.851X- 7. L I S Cubic (^) Spline S,(x) =^ 9,(X^ -^ xi)3^ +^ bi(x^ -^ xi)^
S"( xi) = S,"+,(Xi)
spline WI Free^ boundary conditions
Chapter 6 Numerical Methods^ and (^) Integration
I (^) use offinite (^) difference 2 use ofbest fit curce a p'(X) A (^0) ⑧ pl (^0) O 0 ⑧ ⑧ (^0 ) O (^) - Hi C -
6.2 Finite (^) Difference Formulas for Numerical (^) Differation (^) I ⑤ (^1) IstDerivative
n=^1 I (^2) two (^) pointbackward difference formula
I · I (^) I I f(xi-) = f(xi) -^ hf(xi)^ + hf"(x)
Xi -Xi-
-h b)two point forward (^) diff formula f(xi+) = f(x,) +^ f(xi) + h2+"()+.... ↓ Xi + 1 - x; f(xi) = f(x, + 1) - f(xi) Xi+1 - Xi c) two^ pointcentroid (^) diff formula f(xi-1) = f(xi) - hf(xi) + h2f"(i)-4txi)+.... f(xi+1) = f(xi) + hf'(xi)+ if"(xi)+;h3+"(i)+...
f'(xi) = f(Xi+1) -^ f(xi-1) 2h a) 3-pointbackward^ difference formula
f(xi -^ 2) -^4 + (^) (xi - (^) 1) = - 3f(xi) + 2h (^) f'/xi) + HOT (^) - in " f(x,)= f(xi - 2) - 4f(xi - (^) 1) +^3 +^ (Xi) " I 2n (^) Xi-L