Apply the sine double–angle identity.

Cancel the common factor.

Divide by .

Since is constant with respect to , move out of the integral.

The integral of with respect to is .

Simplify.

Multiply by .

Evaluate integral of (sin(2x))/(cos(x)) with respect to x