5. Interpolation by Spline Functions
Use (5.3) to find the spline coefficients:
s0,0 = y0=0, s0,1= d0 - (2m0 + m1)h0/6=0.1
s0,2= m0/2=0, s0,3= (m1 - m0)/(6h0)=0.4
Finally, we have the piecewise spline equations:
Sk(x)=s0,0+s0,1(x-x0)+s0,2(x - x0)2+s0,3(x - x0)3