Cheney and Kincaid(Cheney, Ward, and David Kincaid. Numerical mathematics and computing. International Thomson Publishing, 1998.) based the derivation of cubic splines on the concept that each pair of intervals is connected by a cubic polynomial, which means the second derivative within each interval is linear. The goal of cubic splines is to derive a cubic polynomial for each interval between t..