A pedagogical flight simulator for longitudinal airplane flight