Once multipled out, you get
cos^2x + 2sinxcosx + sin^2x, simplify that you get
2sinxcosx +1
then the anti of that is -
1/2cos2x - x
Is this the right way of doing it?
cos^2x + 2sinxcosx + sin^2x, simplify that you get
2sinxcosx +1
then the anti of that is -
1/2cos2x - x
Is this the right way of doing it?
-
Yes you are doing it properly, however you have a tiny mistake in the last step. It should be x - (1/2)cos2x , small sign error.
A great place to check your answers would be: wolframalpha.com
just ask exactly what you want in this case "anti-derivative of (cosx+sinx)^2" or "integral (cosx+sinx)^2?"
It is a very powerful search engine that will provide with plenty of information on the function, it's integral, and even provide steps of how to do the integral! This search engine helped me get through accelerated calculus, and I'm sure it will help you too.
Best of luck!
A great place to check your answers would be: wolframalpha.com
just ask exactly what you want in this case "anti-derivative of (cosx+sinx)^2" or "integral (cosx+sinx)^2?"
It is a very powerful search engine that will provide with plenty of information on the function, it's integral, and even provide steps of how to do the integral! This search engine helped me get through accelerated calculus, and I'm sure it will help you too.
Best of luck!