First of all, many thanks for this great website.
Let $F(x)$ be the antiderivative of $$f(x)=\frac{x^3+\sin(x)}{x^2+2}.$$ If $F(5)=\pi$, then what is $F(2)$?
This question was in Calculus exam, I know that $F(x)=\int f(x)\ \mathrm dx +C$, but I am not sure how to integrate the $f(x)$. I divided the integral into two parts, first one was $\int \frac{x^3}{x^2+2} \ \mathrm dx$ which is easy using the long division , but the second part got me stuck which is $\int \frac {\sin(x)}{x^2+2}\ \mathrm dx$. I tried to use integration by parts but no results at all. I used WolframAlpha to find the answer, which gives a strange answer using complex numbers. I have not studied any complex course so far. So I'm guessing there is another trick here, could anyone help me to find that?