Sinc-squared integral (source code)

= Sinc-squared integral
{wiki}

With the standard Fourier convention, <Plancherel theorem> applied to $\mathbf1_{[-1,1]}$ gives
$$
\int_{-\infty}^{\infty}\left(\frac{\sin x}{x}\right)^2dx=\pi,
\qquad
\int_0^\infty\left(\frac{\sin x}{x}\right)^2dx=\frac\pi2.
$$