Hello I am trying to find a formula to calculate coordinates depending on speed, long and lat.

x direction = 90 degrees lat, 0 degrees long

y direction = 0 degrees lat, 90 degrees long

z direction = 0 lat, 0 long

http://www.mymeanscene.com/example.jpg

if object travels at random speed,long and lat how does one calculate how quickly the object is moving in each direction

eg: speed = 10mph

long heading = 45 degrees

lat heading = 45 degrees

how quickly is the object traveling towards x,y,z

hope thats clear enough

Thanks for any help you can offer!