Algorithmic Geometry
This applet computes the direction angle and distance a pilot must set in order to fly back to the starting point.