# Math Help - Indefinite Integral Problem Please

1. ## Indefinite Integral Problem Please

Need some help with this please with an explanation if possible. The problem is to evaluate the indefinite integral of cosx(1 + 2sinx +sin^2x) dx. Thank you in advance!

2. Originally Posted by kep84
Need some help with this please with an explanation if possible. The problem is to evaluate the indefinite integral of cosx(1 + 2sinx +sin^2x) dx. Thank you in advance!
$\cos x (1+2\sin x + \sin^2 x) = \cos x (1+\sin x)^2$ let $t=1+\sin x$ then $t' = \cos x$ and use substitution rule.