Figure 3

Figure 3: Function f = cos3(πx ∕2) + (x + 1)3 ∕8 (black curve) and its interpolant (red curve)on a uniform grid of five nodes. The blue circles show the position of the nodes.