\[I(m)=\int_{0}^{\pi}\frac{\cos\left(mt\right)}{t^{2}+1}\,\mathrm{d}t,\]