I need help with questions 1 and 2 Use 3rd and 6th degree Lagrange interpolation
ID: 1857892 • Letter: I
Question
I need help with questions 1 and 2
Use 3rd and 6th degree Lagrange interpolation polynomials to approximate the function f(x) = Sin (ex - 2) using equally spaced data on the interval .For each case, plot the exact function f(x), approximation to the function by the Lagrange polynomials (fappx(x)), and the error (f(x) - fappx(x)) on the given interval. Give the error values at X = 0.1, 0.9, 1.5, and 1.9. Write a computer routine to approximate the function given in Question 1 using a natural cubic spline with eleven equally spaced data points on the interval .Plot the function, the cubic spline approximation (fappx(x)), and the error (f(x) - fappx(x)) on the even interval. Given the error values at x = 0.1, 0.9, 1.5, and 1.9. Derive the following central finite difference formula. (df/dx)i = 1/12h (-fi+2 + 8fi+1 - 8fi-1 + fi-2)Explanation / Answer
If no one answers please rate me a life saver...please,please....understand.....thank you..!!