I want to calculate the Fourier sine integral and the Fourier cosine integral of the function $f(x)=x^2e^{-x}$. So I have to calculate: $$ \int_0^\infty x^2e^{-x}\sin(\alpha x)dx \qquad , \qquad \int_0^\infty x^2e^{-x}\cos(\alpha x)dx $$
The integration by parts method is really complex for these two integrals!
Is there any better solution to calculate them?!
$$\int_{0}^{+\infty}x^2 e^{-(1-i\alpha)x}\,dx=\frac{1}{(1-i\alpha)^3}\int_{0}^{+\infty}x^2 e^{-x}\,dx =\frac{2}{(1-i\alpha)^3}=\frac{2}{(1+\alpha^2)^3}(1+i\alpha)^3 $$ then you may just consider the real or imaginary parts of both sides to get: $$ \int_{0}^{+\infty}x^2 e^{-x}\cos(\alpha x)\,dx = \frac{2-6\alpha^2}{(1+\alpha^2)^3},\qquad \int_{0}^{+\infty}x^2 e^{-x}\sin(\alpha x)\,dx = \frac{6\alpha-2\alpha^3}{(1+\alpha^2)^3}.$$