I found this page useful.
In reply to Re: Perl and Solving Trig/Converting GPS to x,y Cords by BrowserUk in thread Perl and Solving Trig/Converting GPS to x,y Cords by Pizentios