Ok, so I was never good at Trig. I am attempting to calculate the Great Circle Distance using the Haversine formula. The distance between 1° on each leg should be ~97 miles but alas, my formula is not. Any help by someone smarter than I would be appreciated.
Local La, Lc, Ld, LLat1, LLong1, LLat2, LLong2 LLat1 = 58 LLong1 = -134 LLat2 = 59 LLong2 = -135 La = sin((LLat1-LLat2)/2) * sin((LLat1-LLat2)/2) + cos(LLat1) * cos(LLat2) * sin((LLong1-LLong2)/2) * sin((LLong1-LLong2)/2) Lc = 2 * ArcTan(Sqr(La) ÷ Sqr(1-La)) Ld = 3963 * Lc Message Pattern(Ld,"###,.##")