# That looks ugly and beautiful simultaneously

Calculus Level 5

$\large \displaystyle \int_{-\infty}^{\infty} \dfrac {\cos x}{x^2 + 1} \, dx$

Find the value of the closed form of the above integral.