hi flipboi,

The derivative of is ,

so the derivative of is the derivative of which is .

If you use the trigonometric identity you can more easily find the derivative of

since the derivative of a constant is zero.

Now you have to use the Chain Rule to complete.

Therefore the derivative of is

Combine the two for your final answer.