You are on page 1of 19

LAGRANGE

INTERPOLATION
PRESENTED BY
• SHAMOOK SAAD 17-ARID-1572
• MUHAMMAD HAMZA 17-ARID-1513
• TALHA MALIK 17-ARID-1539
CONTENT
• ABOUT JOSEPH-LOUIS LAGRANGE
• DEFINE INTERPOLATION
• DEFINE LAGRANGE INTERPOLATION
• FORMULA
• ADJANTAGES & DISADVANTAGES
• CONCLUSION
• EXAMPLES
JOSEPH-LOUIS LAGRANGE

• Joseph-Louis Lagrange (born January 25, 1736, Turin, Sardinia-


Piedmont [Italy]—died April 10, 1813, Paris, France), Italian French
mathematician who made great contributions to mathematics.
INTERPOLATION
• In the mathematical field of numerical analysis, interpolation is a type of 
estimation, a method of constructing new data points within the range of
a discrete set of known data points.
LAGRANGE INTERPOLATION
• In numerical analysis, Lagrange polynomials are used for polynomial
interpolation. For a given set of points with no two values equal,
the Lagrange polynomial is the polynomial of lowest degree that
assumes at each value the corresponding value , so that the functions
coincide at each point.
FORMULA

• This is a lagrange’s interpolation formula and can be used both equal


and unequal intervals.
ADVANTAGES DISADVANTAGES
• The formula is simple and easy to • There is always a chance to
remember. committing some error.
• There is no need to construct the • The calculation provided no check
divided difference table. whether the functional values used
to taken correctly or not.
CONCLUSION
• Lagrange has a better performance at the boundaries which make it more
convenient for the real time applications.
Example No 1: Interpolate the value of the function corresponding to X=4 using
Lagrange’s interpolation formula from the following set of data:
X 2 3 5 8 12
F(X) 10 15 25 40 60
CODE
:
OUTPUT :
Example No : 2

Using Lagrange’s interpolation formula find y(10) from the following table

X 5 6 9 11
Y 12 13 14 16
OUTPUT THROUGH THE CODE:
Any Questions ?
THANK YOU…

You might also like