logo

Numerical Analysis: Interpolation and Approximation

Find Lagrange polynomials that approximate f(x), find linear, quadratic, and cubic interpolation polynomials using given nodes, find linear and quadratic interpolation polynomials using other nodes, use Newton polynomials to evaluate at a specific value.

2 Pages692 Words377 Views
   

Added on  2023-06-03

About This Document

This text covers the topics of interpolation and approximation in numerical analysis. It includes solved examples and formulas for Lagrange interpolation, Newton's divided difference method, and more.

Numerical Analysis: Interpolation and Approximation

Find Lagrange polynomials that approximate f(x), find linear, quadratic, and cubic interpolation polynomials using given nodes, find linear and quadratic interpolation polynomials using other nodes, use Newton polynomials to evaluate at a specific value.

   Added on 2023-06-03

ShareRelated Documents
Ans 1.
(a)
y= y0+ ( y1 y0 ) xx0
x1x0
y=1+ 1x+1
1 y=1+ x +1=x y=x
(b)
f ( x )=f ( x2 ) + ( x x2 ) ( f ( x3 )f ( x1 ) )
2 x + ( xx2 )2
[ f ( x1 )2f ( x2 ) + f ( x3 ) ]
2 x2
f ( x )=0+ ( x 0 ) ( 1+ 1 )
2 + x2 [10+1 ]
2 f ( x ) =x
(c)
Let ,f ( x )=ax3 +bx2 +cx +d So ,1=a+bc +d0=d1=a+b+ c+ d32=8 a+4 b+2 c +d
1=a+bc 1=a+b+ c Adding we get ,0=a+ bc+ a+b+ c=2b¿ , b=0 So , we get
1=ac32=8a+2c So ,8=8 a8 c Adding the previous two equations we get ,
328=8 a+ 2 c8 a8 c24=6 cc=4So ,1=a+04+0a=5So , we get the equation as
f ( x ) =5x34x
(d)
y= y0+ ( y1 y0 ) xx0
x1x0
¿ , y=1+ ( 321 ) ( x1 )
1 y=1+31 x31 y=31 x30
(e)
f ( x )=f ( x2 ) + ( x x2 ) ( f ( x3 )f ( x1 ) )
2 x + ( xx2 )2
[ f ( x1 )2f ( x2 ) + f ( x3 ) ]
2 x2
f ( x )=1+ ( x1 ) ( 321 )
2 + ( x1 )2 [ 021+32 ]
2 f ( x )=1+ 31 ( x1 )
2 + ( x1 )2 30
2
f ( x )=1+ 31 ( x1 )
2 +15( x1 )2
Ans 2.
P1 ( x ) =a0 + a1 ( xx0 ) P1 ( x ) =2+0.4 ( x2 ) P1 ( x ) =2+0.4 x0.8 P1 ( x ) =2.8+0.4 x
So , at x=2.7P1 ( x ) =2.8+1.08=1.72
Numerical Analysis: Interpolation and Approximation_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Assignment 5
|11
|858
|224

The Area Of The Inner Cross-Section
|5
|393
|16

Applications of Differential and Difference Equations(MAT2002)
|5
|905
|532

Algebra Problems Assignment
|17
|2400
|302

SEO for Desklib: Title, Meta Title, Meta Description, Slug, Summary, Subject, Course Code, Course Name, College/University
|11
|1930
|230

Project. Project. Table of Contents. Question 1 1. Ques
|6
|456
|24