Ground Speed from GPS Data
The Haversine formula will give distance between two nearby lat/long points. Dividing by the interval yields groundspeed in level flight and is close enough in normal climbs and descents.
In the case of steep climbs and descents you also need to include altitude change.
GPS accuracy can be affected by extreme attitudes as satellites come into and out of view.