8: This is a trig integral. There are three approaches. The most difficult one, which we do not recommend, would use the tangent substitution (the cosine is in an even power). The easiest solution would use the reduction formula.

Unfortunately, many people would not remember the reduction formulas. Then we recommend to use trig identities to reduce the power.

Next hint
Answer