You can put this solution on YOUR website! Write cosecant(theta) in terms of cosine(theta) only.
----------------
csc = 1/sin
=====================
sin = sqrt(1 - cos^2)
-------------------
--> csc(t) = 1/(sqrt(1-cos^2(t))
===========================
You can rationalize the DEN if you want to.