Have you tried that Math::Trig function great_circle_distance? Even if your task was to demonstrate code to calculate great circle distance, it would let you compare your results to those from reliable code.
In reply to Re: flat earth distance
by swampyankee
in thread flat earth distance
by pglinx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |