The gaussian function is de ned byf(x) =e^x^2:
(A) Write the barycentric form of the interpolating polynomialp3(x) for the gaussian function onthe interval [1;1] using four evenly spaced tting points.
(B) Use MATLAB to plot the gaussian function and thep3(x) you obtained in (A) on the sameaxes. Also plot the error on a separate graph.
(C) Use MATLAB to plot a tenth-order interpolating polynomialp10(x) using the barycentric formof the polynomial and eleven evenly spaced tting points on the same axis as the gaussian. Alsoplot the error on a separate graph.
(D) Compare and contrast the two interpolating polynomials
1
Expert's answer
2020-10-01T19:39:51-0400
Dear Rut Shah, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment