Evaluate the following integral using integration by parts:
To apply the integration by parts formula we let:
Then we use integration by parts
Now, we use integration by parts again to evaluate the integral of . Let
Then we have
Putting this back into the formula we had above, we then obtain
I think the last line should be 2xsinx + 2cosx – x^2 cosx + C since we carry the -x^2cosx from the first part
la ultima es cos x+c