Question: Write a Matlab code which is able to implement the Lagrange Interpolation Method for data set for any problem. Test your code for an engineering
Write a Matlab code which is able to implement the "Lagrange Interpolation Method for data set for any problem. Test your code for an engineering problem below.
"Submit a file which includes both your codeby using Lagrange Interpolation Method
A robot arm with a rapid laser scanner is doing a quick quality check on holes drilled in a rectangular plate. The centers of the holes in the plate describe the path the arm needs to take, and the hole centers are located on a Cartesian coordinate system with the origin at the bottom left corner of the plate given by the specifications in the following table. Find the path traversed through the six points using a fifth order Lagrange polynomial. Use four digits after the decimal point
table in in
Table. The coordinates of the holes on the plate.
If the laser is traversing from to to like in a quadratic path, what is the value of at using a fifth order Lagrange polynomial? Find the absolute relative approximate error for the fifth order polynomial approximation. Note: The absolute relative approximate error will be calculate by using the value obtained from the first order polynomial approximation.
Hint: For fifth order Lagrange polynomial interpolation also called quantic interpolation we choose the value of given by
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
