Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started