\[c_{n}=\frac{1}{2\pi}\int^{\pi}_{-\pi}f(x){\mathrm{e}}^{-\mathrm{i}nx}\,\mathrm%
{d}x.\]