# How Flight Works 7, Exercise 3: what faster really saves # Time = distance / speed. Speeds are illustrative round figures, not real data. SLOW = 900.0 # km/h, wide-body jet FAST = 2150.0 # km/h, supersonic airliner for label, dist in (("short route", 1000.0), ("medium route", 3000.0), ("ocean route", 5500.0)): ts = dist / SLOW tf = dist / FAST print(label, "->", round(ts, 1), "h against", round(tf, 1), "h, saving", round(ts - tf, 1), "h") # Output when run: # short route -> 1.1 h against 0.5 h, saving 0.6 h # medium route -> 3.3 h against 1.4 h, saving 1.9 h # ocean route -> 6.1 h against 2.6 h, saving 3.6 h # # The saving grows with distance, so the long ocean route gains the most. On a short # route, taxiing, climb and waiting would swallow most of the gain, and that is # part of why the supersonic airliner made sense on very few routes.