I've come across the need for doing GPS calculations. I've implemented the haversineformula for gps distances but I need the opposite, a point 1 mile away in any direction. The GPS coordinates are converted into radians ...
http://en.wikipedia.org/wiki/Haversine_formula
haversine-1(h, r) = 2r * arcsin(sqrt(h))
haversine(θ) = sin2(θ/2)
d = haversine-1(haversine(lat2 - lat1) + cos(lat1) * cos(lat2) * haversine(lon2 - lon1), 3956)
d = distance in miles between two gps points
lat1 and lon1 (known variables)
lat2 and lon2 represent the second gps coordinate (unknown variables)
So what I'm asking is for the function ... gps(d) = .... = { latitude, longitude } where d is a known variable and the first set of coordinates is a known variable.