(a)
\The function is .
The derivative of the function can be found in two ways.
\One is differentiating the function directly and then simplifying.
\Other is by simplifying the function and differentiating the simplified function.
\Apply derivative on each side with respect to .
Apply power rule of differentiation: .
.
The function is .
Trigonometric identities : .
Apply derivative on each side with respect to .
.
(b)
\The functions are and
.
Consider .
Apply derivative on each side with respect to .
Consider .
Substitute in the above expression.
.
(a) .
(b) .