How do you go about this question?
Calculate $ \int \cos (x) (1− \sin x)^2 dx$ .
Can you integrate the different products separately?
Does it have something to do with integration by parts?
I have tried letting $u=(1− \sin x)^2$ but I don't think I'm heading in the right direction! Can anyone help?