2.7 Cubic spline

Third degree curve passing through given points with or without restraint at the ends.