Let's define the n-th degree Chebyshev polynomials by
$$ T_{n} (x)=\cos(n\arccos(x)).$$
Find a polynomial $P$ such that
$$\mid y- P (x) \mid$$
is minimal, using the first three Chebyshev polynomials for the following data:
$$ \begin{bmatrix} x & -1 & -0.5 & 0 & 0.5 & 1 \\ y & 0.6346 & 0.6565 & 1 & 1.5230 & 1.5756 \end{bmatrix}. $$
How could we manage to approach such a problem?