You can put this solution on YOUR website! use fundamental identities to write cot(theta) in terms of sin(theta) for any acute angle theta
---------
cot(theta) = [cos(theta)]/[sin(theta)]
= [sqrt(1-sin^2(theta)]/[sin(theta)]
===================================
OR
1+cot^2 = csc^2
cot= sqrt(csc^2-1)
cot= sqrt[(1/sin^2)-1]
cot= sqrt[(1/sin^2)-1]/sin^2]
cot= [sqrt(1-sin^2)]/sin
=======================
Cheers,
Stan H.