Figure 6

Figure 6: Function f = cos3(πx ∕2) + (x + 1 )3 ∕8 (black curve) and its projection on Chebyshev polynomials (red curve), for N = 4 (left panel) and N = 8 (right panel).