The function is
and the interval is
.
The slope of the horizontal tangent line is zero.
\Evaluate
.
Consider
.
Differentiate the function with respect to
.

Sum and difference rule:
.

Constant multiple rule of derivative :



Derivative of the function is
.
Equate
.

If
, the general solution is
where
is an integer.

If
, then

If
, then

If
, then

is not in the interval
.
The values of
in the interval
are
and
.
Now substitute corresponding
values in the function .
Substitute
in
.
Substitute
in
.

The function has a horizontal tangent lines at
and
.
The function has a horizontal tangent lines at
and
.