Suppose we are given some values of a function at a set of equally spaced points . We want to find a smooth function that fits the data subject to following conditions: (i) within each interval is a cubic which is different, (ii) derivatives of all order are continuous on and (iii) for .
Why are there interlopary conditions and continuity conditions?