title: How to find trajectory path if the distance traveled, starting elevation, ending elevation and time in the air are known
body: <p>I'm trying to find the trajectory an object would take (assuming air drag is negligible and trajectory angle is always between 0 and 90), including peak height.  Here's what I know:</p>
  
  <ul>
  <li>takeoff point latitude, longitude, elevation</li>
  <li>landing poing latitude, longitude, elevation</li>
  <li>distance traveled</li>
  <li>amount of time in the air</li>
  </ul>
  
  <p>For me the problem could be reduced to 2d space, so if an object travels a horizontal distance of 8 meters starting at an elevation of 0 and ending at a relative elevation of -5 meters, and travels for 2 seconds.  What was the peak height, and at what point in time did it reach that peak hight.  </p>
  
  <p>Also, trying to write this equation in to php, C, or objective C.  Thanks</p>