(a) By using methods we learned in class, we obtain the polynomial of degree two:
(b) Using Lagrange interpolation for the two subintervals, we obtain
(35) |
(c) by repeating calculations that we have done in class, we obtain
(36) |
(a) Lagrange Polynomial is
(b) Lagrange Polynomial is
(c) Lagrange Polynomial is
(a)
Global polynomial interpolation is
Writting spline as
Result of part (a) does indeed satisfies interpolation and smoothness condition, but result in part (a) is not a natural spline
(d)To obtain result in (a) one would have to use clamped spline with