[tex]\int x^2*cosx dx[/tex]
The Attempt at a Solution
Okay, so I started by making...
Then I made the rudimentary equation:
[tex]\int x^2 * cos(x) dx = -x^2*sin(x) + \int 2x * sin(x) dx[/tex]
Then I took the last integration problem (the one all the way on the right) and did integration by parts on that one again, to make:
[tex]\int x^2 * cos(x) dx = -x^2 * sin(x) + 2x * sin(x) + \int 2 * cos(x) dx[/tex]
I evaluated the last integration problem to be -2*sin(x), and got a final answer of sin(x)(-x^2+2x-2) (after factoring). Of course, my calculator says this is wrong, so where'd I mess up?
Thanks. (I'm getting better with Latex, btw)