At Ask Me Help Desk you can ask questions in any topic and have them
answered for free by our experts. To ask questions or participate in
answering them you must register for a free account. By registering you
will be able to:
Get free answers from experts in any of our 300+
topics.
If so, then try rewriting using sin() and cos() in place of the the tan() and cot() functons, and much of it collapses to a simpler looking equation. You'll end up having to determine the arc tan of a number.