You can put this solution on YOUR website! Simplify the expression as much as possible.
cos^2(t)−1/sin(t)
-----
Since 1-cos^2(t) = sin^2(t)
--------------------
Your Problem::
-sin^2(t)/sin(t)
-----
= -sin(t)
====================
Cheers,
Stan H.
--------------------