MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply TodayFind the altitude of a location on the earth, given latitude and longitude coordinates, above mean sea level.

Input___________Latitude and Longitude in decimal degrees.

Output_________ Altitude in meters.

Example:

Everest (27.988056°N 86.925278°E) ----> Height: 8816.663 m (from Google Maps)

17 correct solutions
24 incorrect solutions

Last solution submitted on Sep 06, 2013

2 Comments

Alfonso Nieto-Castanon
on 22 Mar 2013

the expected level of precision of the responses seems a bit unreasonable (<1 nanometer?), perhaps you could allow +-1% error in the returned altitude responses?

Dan
on 22 Mar 2013

Modified tolerance of the answers.

4 Comments