Question: x== 0 1 2 3 4 5 f(x)== 0 0.5 0.8 0.9 0.941176 0.961538 Write a Matlab function that calculates the coefficients of a Lagrange
x== 0 1 2 3 4 5 f(x)== 0 0.5 0.8 0.9 0.941176 0.961538 Write a Matlab function that calculates the coefficients of a Lagrange interpolating polynomial of degree n passing through n + 1 given points. Use your Matlab function and inverse interpolation with Lagrange to estimate again the value of x corresponding to f(x) = 0.85.
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
