faced with a problem when calculating the value of the integral
$$ \int_{0}^{\infty} e^{-x}|\sin(x)|\, \mathrm{d}x$$
Is there any idea how?
faced with a problem when calculating the value of the integral
$$ \int_{0}^{\infty} e^{-x}|\sin(x)|\, \mathrm{d}x$$
Is there any idea how?
Break up the integral into the sum of integrals
$$\begin{align} \sum_{n=0}^\infty \int_{n\pi}^{(n+1)\pi} e^{-x}|\sin(x)|\,dx&=\sum_{n=0}^\infty (-1)^n \int_{n\pi}^{(n+1)\pi} e^{-x}\sin(x)\,dx\\\\ &=\frac12 (1+e^{-\pi})\sum_{n=0}^\infty e^{-n\pi}\\\\ &=\frac{1+e^{-\pi}}{2(1-e^{-\pi})}\\\\ &=\frac12 \coth(\pi/2) \end{align}$$