The left-hand side is NOT equal to the right-hand side in general. For example, suppose A = 37°
$${\frac{{cot}{\left({\mathtt{37}}\right)}{\mathtt{\,\times\,}}{csc}{\left({\mathtt{37}}\right)}}{\left({cot}{\left({\mathtt{37}}\right)}{\mathtt{\,\small\textbf+\,}}\underset{\,\,\,\,^{\textcolor[rgb]{0.66,0.66,0.66}{360^\circ}}}{{cos}}{\left({\mathtt{37}}^\circ\right)}\right)}} = {\mathtt{1.037\: \!348\: \!331\: \!178\: \!024\: \!9}}$$
$${\frac{\left({cot}{\left({\mathtt{37}}\right)}{\mathtt{\,-\,}}\underset{\,\,\,\,^{\textcolor[rgb]{0.66,0.66,0.66}{360^\circ}}}{{cos}}{\left({\mathtt{37}}^\circ\right)}\right)}{\left({cot}{\left({\mathtt{37}}\right)}{\mathtt{\,\times\,}}{csc}{\left({\mathtt{37}}\right)}\right)}} = {\mathtt{0.239\: \!633\: \!701\: \!060\: \!557\: \!7}}$$
.