\[f_{m}=\frac{1}{2\pi}\int_{0}^{2\pi}f(x)w_{m}(x)\,\mathrm{d}x.\]