Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify each term.

Multiply by .

Multiply by .

Multiply by .

Rewrite using the commutative property of multiplication.

Multiply .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Add and .

Add and .

Apply pythagorean identity.

Simplify (1+cos(x))(1-cos(x))