Hiegth of terrain

Hi,
I need a rocket to start moving from one point on the ground and flying until hit to another point on the ground. for that i need to get height of start and end points. How can i get ((height)) base on (lat,lon)??