Evaluate $\int_0^\infty\frac{2-2\cos x}{xe^x}\,dx$
$\frac{1-\cos x}x=\int_0^1\sin(ux)\,du,$ then construct a double integral and switch the order of integration.
The answer is $\ln2.$