The function is
.
Apply derivative with respect to
.

Sum rule of derivatives :
.

Derivative of secant function :
.
Derivative of tangent function :
.

\
To find the critical numbers of
, equate
to zero.

For
.

is not in the given region
.
For

For

For

Therefore the function have critical numbers at
.
Critical numbers :
.