Exercise · ZW-CUBIC-SPLINES-007 · ★★☆ Intermediate
For the natural spline through \((0,0),(1,1),(2,0)\), what is \(S''(1)\) using the \(c_1\) form of the system?
Choose one option.
Show answer
- B. \(-3\)
Exercise · ZW-CUBIC-SPLINES-007 · ★★☆ Intermediate
Choose one option.
With \(c_0=c_2=0\) the system gives \(4c_1=3\,(f[x_1,x_2]-f[x_0,x_1])=-6\), so \(c_1=-\tfrac{3}{2}\) and \(S''(x_1)=2c_1=-3\).
A cubic spline \(S\) is a piecewise function, each piece a polynomial of degree three, that interpolates the data \((x_i,y_i)\) and is of class \(C^2\) at the nodes.