Question: 1. (a) Generate an O(h2) (second-order) approximation to the first derivative of some function f(x) using 3 points, x0 x1 and x2 using the polynomial

1. (a) Generate an O(h2) (second-order) approximation to the first derivative of some function f(x) using 3 points, x0 x1 and x2 using the polynomial interpolation approach in lagrange form. Give the finite formulas for each of the points x0, x1, and x2. Assume they are equally spaced, with spacing h.

(b) Using the error term for polynomial interpolation, show that the error above is O(h2).

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!