Step 1:
\(a)
\The function is
.
The derivative of the function can be found in two ways.
\One is directly and other is by simplifying the function.
\
Apply derivative on each side.
\

Apply chain rule of derivative:
.
\

.
Step 2:
\The function is
.
Trigonometric identities :
.

Apply derivative on each side.
\
Derivative of a constant is always 0.
\
.
Step 3:
\(b)
\The functions are
and
.
Consider
.
Apply derivative on each side.
\
Apply chain rule of derivative:
.


Step 4:
\Consider
.

Apply chain rule of derivative:
.


Substitute
in the above expression.
.
Solutions:
\(a)
.
(b)
.