I'm trying to evaluate $\displaystyle \int \limits_{-\infty}^{\infty} \dfrac{\sin^2(x)}{x^2} \operatorname d\!x $.
My first though was to use residue calculus, since we've got the pole of order 2 there at the origin. Given that the pole actually lies on the real axis though, I'd guess I'd have to use some sort of keyhole contour to include the pole and then limit. Maybe it's just one of those days, but I'm not seeing an obvious contour to use here. Any help would be appreciated.
Suppose that $\int_0^\infty \frac{\sin t}{t} dt = \frac{\pi}{2}$. By an integration by parts, $$\int_0^\infty \frac{\sin^2 x}{x^2} dx = -\frac{\sin^2 x}{x}|_0^\infty + \int_0^\infty \frac{\sin (2x)}{x} dx .$$
Check that $\lim_{x\to \infty}\frac{\sin^2 x}{x} = \lim_{x\to 0} \frac{\sin^2 x}{x}=0$. By a change of variable $t=2x$, $\int_0^\infty \frac{\sin (2x)}{x} dx = \int_0^\infty \frac{\sin t}{t} dt = \pi/2$ using our supposition. Hence $\int_0^\infty \frac{\sin^2 x}{x^2} dx = \frac{\pi}{2}$.
Therefore $\int_{-\infty}^\infty \frac{\sin^2 x}{x^2} dx = \pi$.