Title: Lagrangian Interpolation
1Lagrangian Interpolation
- Computer Engineering Majors
- Authors Autar Kaw, Jai Paul
- http//numericalmethods.eng.usf.edu
- Transforming Numerical Methods Education for STEM
Undergraduates
2Lagrange Method of Interpolation
http//numericalmethods.eng.usf.edu
3What is Interpolation ?
Given (x0,y0), (x1,y1), (xn,yn), find the
value of y at a value of x that is not given.
4Interpolants
- Polynomials are the most common choice of
interpolants because they are easy to - Evaluate
- Differentiate, and
- Integrate.
5Lagrangian Interpolation
6Example
- A robot arm with a rapid laser scanner is
doing a quick quality check on holes drilled in a
rectangular plate. The hole centers in the plate
that describe the path the arm needs to take are
given below. - If the laser is traversing from x 2 to x
4.25 in a linear path, find the value of y at x
4 using the Lagrange method for linear
interpolation.
Figure 2 Location of holes on the rectangular
plate.
7Linear Interpolation
8Linear Interpolation (contd)
9Quadratic Interpolation
10Example
- A robot arm with a rapid laser scanner is
doing a quick quality check on holes drilled in a
rectangular plate. The hole centers in the plate
that describe the path the arm needs to take are
given below. - If the laser is traversing from x 2 to x
4.25 in a linear path, find the value of y at x
4 using the Lagrange method for quadratic
interpolation.
Figure 2 Location of holes on the rectangular
plate.
11Quadratic Interpolation
12Quadratic Interpolation (contd)
13Comparison Table
14Example
- A robot arm with a rapid laser scanner is
doing a quick quality check on holes drilled in a
rectangular plate. The hole centers in the plate
that describe the path the arm needs to take are
given below. - If the laser is traversing from x 2 to x
4.25 in a linear path, find the value of y at x
4 using a fifth order Lagrange polynomial.
Figure 2 Location of holes on the rectangular
plate.
15Fifth Order Interpolation
16Fifth Order Interpolation (contd)
17Fifth Order Polynomial (contd)
18Fifth Order Polynomial (contd)
19Fifth Order Polynomial (contd)
20Fifth Order Polynomial (contd)
21Additional Resources
- For all resources on this topic such as digital
audiovisual lectures, primers, textbook chapters,
multiple-choice tests, worksheets in MATLAB,
MATHEMATICA, MathCad and MAPLE, blogs, related
physical problems, please visit - http//numericalmethods.eng.usf.edu/topics/lagran
ge_method.html
22- THE END
- http//numericalmethods.eng.usf.edu