Differentiate the following functions with respect to x:
Let
On differentiating y with respect to x, we get
We know
[using chain rule]
We have
However, and derivative of a constant is 0.
[∵ sin2θ = 2sinθcosθ]
[∵ sin(90°+θ) = cosθ]
Thus,