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

Sum rule of derivatives :
.

Constant multiple and the power rule:
.
Derivative of a sine function :
.


Slope of the horizontal tangent line is
.
To find the points at which the function has a horizontal tangent line, equate
.


Cosine function ranges between
and
.
So the solution of
does not exits.
Hence
does not have horizontal tangent line.
does not have horizontal tangent line.