Find the general indefinite integral

∫cosxsin^4xdx

Use the substitution

u=sin(x)
du = cos(x)dx
I=∫cosxsin^4xdx
=∫u^4du
Integrate and back-substitute.
Do not forget the integration constant "+C".