An example of cubic splines: how do we intepolate two
points and their slopes using a cubic? We can derive the so-called
"Hermite spline" as a variant of Lagrange interpolation, featuring "get
out of the way" functions!
Here's another
picture of how we might build one of these.
More on my implementation of this in Mathematica.