I am to compute $\int_{-\infty}^{\infty}\frac{x\sin(3x)dx}{x^4+1}$.
So I geuss I should write the integral as $\int_{\tau}^{}\frac{z\sin(3z)dx}{z^4+1} -\lim_{R\rightarrow\infty}{\int_{C_{R}}^{}\frac{z\sin(3z)dx}{z^4+1}}$. Where is $\tau$ is half circle with the real line, and $C_R$ is without the line. $$\lim_{R\rightarrow\infty}{\int_{C_{R}}^{}\frac{z\sin(3z)dx}{z^4+1}}=0$$
So I am now left with $\int_{\tau}^{}\frac{z\sin(3z)dx}{z^4+1}$ and here I should find a residues of a function. What would be the best way here to do it, since it's the sine that's causing me difficulties.