I am trying to work out a generic equation for ballistic travel on a sphere (ie, the earth) from a given initial velocity in the forward and upward direction. How does one calculate distance traveled along the surface of the sphere for a given initial velocity in the X and Y direction? Any ideas? It seems like it should be relatively easy to work out, but unfortunately my calculus is very rusty...