I just can't seem to get it right.  The parentheses were also misplaced.  
Here are the proper formulas, I hope!

a=asin(sin(T)*cos(Dec)/sin(S))

tan(e/2)=[tan((a+90-Dec)/2)*sin((S-T)/2)]/sin((S+T)/2)

Finally, e=2*atan[[tan((a+90-Dec)/2)*sin((S-T)/2)]/sin((S+T)/2)]

Bill G.

Reply via email to