Powers of sine and cosine

With an odd power, save one factor for $du$ and turn the rest with $\sin^2 x + \cos^2 x = 1$; when every power is even, lower them with the half-angle identities.

From Calculus 2.