Question: 8. (Matlab) Write a Matlab program that inputs integer m; two vectors of data points x and y, both with m components; o location z

 8. (Matlab) Write a Matlab program that inputs integer m; two

8. (Matlab) Write a Matlab program that inputs integer m; two vectors of data points x and y, both with m components; o location z Have this program use the Lagrange form for the Lagrange interpolating polynomial to output the polynomial's value at z (a) Write out or print out your program (b) Apply your program to the case with data points (zi,f(x)),1-0, . 20, where the (x)12s7, and x, are equally spaced nodes satisfying 1+25x2' and write out or print out your results for z = 0.975, along with the absolute error (exact is f()) (c) Do the same with the same f(x), but equally spaced nodes

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!