# How Flight Works 3, Exercise 3: angle of attack needed at different speeds # Reuse the chapter's lift model and find the angle of attack that holds # level flight (lift = weight) at several airspeeds. Illustrative values. import math G = 9.81 RHO = 1.225 MASS = 60000 AREA = 125 CL0, SLOPE, STALL_ALPHA = 0.2, 0.09, 14.0 # CL = CL0 + SLOPE * alpha def cl_needed(speed): return 2 * MASS * G / (RHO * AREA * speed ** 2) for speed in (60, 70, 80, 90, 120): cl = cl_needed(speed) alpha = (cl - CL0) / SLOPE note = "beyond the stall angle: cannot fly" if alpha > STALL_ALPHA else "ok" print(speed, "m/s -> CL", round(cl, 2), "alpha", round(alpha, 1), "deg", note) # Output when run: # 60 m/s -> CL 2.14 alpha 21.5 deg beyond the stall angle: cannot fly # 70 m/s -> CL 1.57 alpha 15.2 deg beyond the stall angle: cannot fly # 80 m/s -> CL 1.2 alpha 11.1 deg ok # 90 m/s -> CL 0.95 alpha 8.3 deg ok # 120 m/s -> CL 0.53 alpha 3.7 deg ok # # Slower flight needs a higher angle of attack to make the same lift, until # the stall angle is reached. Below that speed the clean wing cannot hold # the aircraft up, which is the idea behind stall speed.