\[c_{n}=\left\langle f,\phi_{n}\right\rangle=\int_{a}^{b}f(x)\overline{\phi_{n}(%
x)}\,\mathrm{d}x,\]