Question: Use a Lagrange interpolating polynomial of the first and second order to evaluate the value of y at x = 2 5 based on the

Use a Lagrange interpolating polynomial of the first and second order to evaluate the value of y at x=25 based on the data in the following table;
\table[[x,10,30,50],[y,7.7,1.6,0.424]]
a) Solve by hand by using first-order polynomial and the second-order polynomial
b) Draw the flow chart expressing the algorithm for the solution.
c) Create an m-script containing a function evaluating the y-values for the pre-defined x-values by means of Lagrange's Interpolation Method.
i. Write the MATLAB Code (m-script) on the answer sheet.
ii. Add explanation (comment) with (%) for each line of MATLAB Code.
iii. Build the m-script in MATLAB.
iv. Run the m-script file and demonstrate the solution as screenshot using the "print screen" button on the keyboard.
 Use a Lagrange interpolating polynomial of the first and second order

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!