I worked a derivative problem all the way down to this:
I'm pretty sure there is a way to simplify this, but I don't see how, even after studying trigonometric identities.
I think has something to do with this.
Or maybe make csc and cot as their corresponding sin and cos values...
I'm just not sure!!!