Cubic Splines: Natural and Clamped
(i) Calculate the natural cubic spline f(x) for the following data and then determine 1(1.5). (Use 3 significant digits.)
Xk: 0 |1| 2 | 3
Yk: 1|3|1.5|-2
(ii) Calculate the clamped cubic spline g(x) for the same data as above but where g/(0) = 2 and g'(3) = -1. Determine the value g(2,6). (Use 3 significant digits.)