The function is
.
Apply derivative on each side with respect to
.


.
The function is
.
The
function is defined for all values of
.
The Domain of the function is
.
Hence the one of the largest interval is
.
.
Write the derivative as a function of
.
.
Trigonometric identities :
.
Substitiute
in the function
.
.


Substitute
in the function
.
.
The derivative of
is
.
The one of the largest interval is
.
The derivative of
in terms of
is
.