Aeronautical Engineering Math, Step by Step
Atmosphere, lift, wings, performance, shocks, jet engines, stability and rotors: derivations, worked examples and practice, freshman to PhD.
Constants used on this page
Every number on this page is computed by the site’s build script (scripts/aero_calc.py) and checked against published tables: the ISA values at 11 km match the 1976 U.S. Standard Atmosphere, and the Mach 2 shock values match the standard normal-shock tables. Aircraft values are generic and illustrative, not a specific type.
The standard atmosphere
- Teens
- Community college
- Undergraduate (freshman–senior)
You will be able to
Derive pressure and density versus altitude from hydrostatics and the ideal gas law; compute ISA values in the troposphere and lower stratosphere.
Before you start
Separable ODEs, natural logarithms, ideal gas law. How Flight Works
Intuition first
Every lift, drag and engine calculation starts with the air’s density. The International Standard Atmosphere (ISA) is an agreed model so that everyone uses the same numbers.
🧒 Explain like I’m 10
Air is like a pile of blankets: the ones at the bottom are squashed by all the ones on top. Climb up and there is less air pressing down, so it gets thinner and colder.
Step by step
- Hydrostatic balance plus the ideal gas law.
- Divide to separate variables.
- Troposphere: temperature falls linearly.
- Above 11 km (to 20 km): isothermal, exponential decay.
Worked example
- Given
- h = 11 000 m (36 089 ft), ISA sea level T₀ = 288.15 K, p₀ = 101 325 Pa.
- Find
- T, p, ρ and the speed of sound a.
- Strategy
- Lapse-rate formula for T and p, then ρ = p/(RT) and a = √(γRT).
- Steps
- T = 288.15 − 0.0065 · 11000 = 216.65 K
- p = 101325 (T/288.15)^5.2559 = 22632 Pa
- ρ = p/(RT) = 0.3639 kg/m³
- a = √(1.4 · 287.053 · T) = 295.07 m/s
- Answer
- T = 216.65 K, p = 22632 Pa, ρ = 0.3639 kg/m³, a = 295.1 m/s.
- Sanity check
- The 1976 U.S. Standard Atmosphere tables list 216.65 K, 22 632 Pa and 0.3639 kg/m³ at 11 km.
- Significance
- Air at airliner cruise height is less than a third as dense as at sea level: less drag, but wings and engines must work harder.
Show the Python
import math
g0, R, L, T0, p0 = 9.80665, 287.05287, 0.0065, 288.15, 101325.0
h = 11000
T = T0 - L*h
p = p0 * (T/T0)**(g0/(L*R))
rho = p / (R*T)
print(T, p, rho, math.sqrt(1.4*R*T))Auto-checked practice
- kg/m³
- T = 288.15 − 0.0065 · 5000 = 255.65 K.
- p = 101 325 (T/T₀)^5.2559, then ρ = p/(RT).
Full solution
p = 54020 Pa; ρ = 0.7361 kg/m³.
Practice
Why does the formula change at 11 km?
Show solution
The model’s temperature stops falling (tropopause); with constant T the integral of dp/p gives an exponential instead of a power law.
Common mistake
Using °C in the gas law. T must be in kelvin.
References
- NOAA, NASA, USAF, U.S. Standard Atmosphere, 1976, U.S. Government Printing Office, 1976.
- J. D. Anderson Jr., Introduction to Flight, 8th ed., McGraw-Hill, 2016.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
Lift, the airfoil and thin-airfoil theory
- Community college
- Undergraduate (freshman–senior)
You will be able to
Use the lift equation; state the thin-airfoil result c_l = 2πα; compute a stall speed.
Before you start
Dynamic pressure, radians, integrals of trigonometric functions (for the derivation). How Flight Works
Intuition first
Lift grows with air density, the square of speed, wing area and a lift coefficient that depends on angle of attack. Thin-airfoil theory models the wing as a sheet of vortices and predicts the slope: 2π per radian.
🧒 Explain like I’m 10
Hold your hand out of a car window and tilt it up a little: the air pushes it up. A wing does the same thing, turning the air downward so the air pushes the wing up.
Step by step
- Lift equation (definition of C_L).
- Thin-airfoil integral equation for the vortex sheet strength γ.
- Symmetric airfoil solution and Kutta–Joukowski.
- Stall speed: lift equals weight at the maximum C_L.
Worked example
- Given
- Generic light aircraft: m = 1100 kg, S = 16.2 m², C_L,max = 1.6, sea level (ρ = 1.225 kg/m³).
- Find
- Stall speed; and c_l of a thin symmetric airfoil at 5°.
- Strategy
- Set L = W at C_L,max; convert 5° to radians for 2πα.
- Steps
- W = 1100 · 9.80665 = 10787 N
- V_s = √(2 · 10787 / (1.225 · 16.2 · 1.6)) = 26.07 m/s
- α = 5° = 0.08727 rad → c_l = 2πα = 0.5483
- Answer
- V_s = 26.1 m/s (51 kn); c_l = 0.548.
- Sanity check
- About 50 knots is typical of published stall speeds for light training aircraft, and 0.55 is close to measured c_l for thin symmetric sections at 5°.
- Significance
- Stall speed sets runway length and approach speed; flaps raise C_L,max to land slower.
Show the Python
import math
m, S, clmax, rho, g0 = 1100, 16.2, 1.6, 1.225, 9.80665
Vs = math.sqrt(2*m*g0 / (rho*S*clmax))
print(Vs, Vs/0.514444, 2*math.pi*math.radians(5))Auto-checked practice
- m/s
- Find ISA ρ at 1500 m first.
- V_s scales as 1/√ρ.
Full solution
ρ(1500 m) = 1.0581 kg/m³, so V_s = 28.05 m/s (the indicated stall speed stays the same).
Practice
Why does thin-airfoil theory fail above about 12–15°?
Show solution
It assumes attached, inviscid flow and small angles; at high α the boundary layer separates (stall).
Common mistake
Putting α in degrees into 2πα. Use radians.
References
- J. D. Anderson Jr., Fundamentals of Aerodynamics, 6th ed., McGraw-Hill, 2017.
- J. D. Anderson Jr., Introduction to Flight, 8th ed., McGraw-Hill, 2016.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
Finite wings: lifting-line theory and induced drag
- Undergraduate (freshman–senior)
You will be able to
Derive induced drag C_Di = C_L²/(πeAR); compute the finite-wing lift slope from lifting-line theory.
Before you start
Thin-airfoil theory, Fourier series, Biot–Savart law. How Flight Works
Intuition first
Trailing vortices induce a downwash that tilts the local lift backward. That backward component is induced drag, the price of making lift with a wing of finite span.
🧒 Explain like I’m 10
Air leaks around the wing tips from the high-pressure bottom to the low-pressure top and makes spinning tornadoes behind the plane. Long, skinny wings leak less, like a glider’s.
Step by step
- Fourier series for the circulation along the span.
- Lift needs only A₁; every other term adds drag (e ≤ 1).
- Finite-wing lift slope (elliptic-type correction).
Worked example
- Given
- AR = 9, Oswald efficiency e = 0.8, C_L = 0.5, a₀ = 2π per rad.
- Find
- C_Di and the wing lift slope a.
- Strategy
- Plug into the two lifting-line results.
- Steps
- πeAR = π · 0.8 · 9 = 22.62
- C_Di = 0.5² / 22.62 = 0.01105
- a = 2π / (1 + 2π/22.62) = 4.917 /rad
- Answer
- C_Di = 0.0111; a = 4.92 per radian.
- Sanity check
- a is less than 2π and tends to 2π as AR → ∞, as it must.
- Significance
- With C_D0 = 0.02, induced drag here is about a third of the total, which is why gliders and long-range airliners use high aspect ratios and winglets.
Show the Python
import math
AR, e, CL, a0 = 9, 0.8, 0.5, 2*math.pi
print(CL**2/(math.pi*e*AR), a0/(1 + a0/(math.pi*e*AR)))Auto-checked practice
-
- C_Di = C_L²/(πeAR).
Full solution
C_Di = 0.25/(π · 0.8 · 12) = 0.00829, 25% less than at AR = 9.
Practice
Which spanwise lift distribution gives e = 1?
Show solution
The elliptic distribution (only A₁ ≠ 0), which also gives uniform downwash.
Common mistake
Using the 2D slope 2π for a whole wing; a finite wing’s slope is lower.
References
- J. D. Anderson Jr., Fundamentals of Aerodynamics, 6th ed., McGraw-Hill, 2017.
- MIT OpenCourseWare, 16.100 Aerodynamics (CC BY-NC-SA 4.0).
Aircraft performance: best glide and the Breguet range equation
- Undergraduate (freshman–senior)
You will be able to
Use the drag polar to find maximum L/D by calculus; integrate the Breguet range equation for a jet.
Before you start
Derivatives and optimisation, integrals of 1/W, induced drag. How Flight Works
Intuition first
Drag has a part that grows with speed (friction, C_D0) and a part that shrinks with speed (induced). The best L/D is where they are equal; range then depends on L/D, engine efficiency and how much fuel is burned.
🧒 Explain like I’m 10
An airplane is like a bike: there is a best speed where you go farthest for the least effort. Go too slow and you work hard to stay up; go too fast and the wind pushes back.
Step by step
- Parabolic drag polar.
- Maximise L/D: friction drag equals induced drag.
- Fuel burn rate c (TSFC) at constant V and L/D; integrate.
Worked example
- Given
- AR = 9, e = 0.8, C_D0 = 0.02. Generic jet: V = 230 m/s, c = 0.6 per hour, L/D = 17, W_i/W_f = 1.25.
- Find
- (L/D)max, the C_L where it occurs, and the jet’s range.
- Strategy
- k from AR and e; optimum formula; Breguet with c in 1/s.
- Steps
- k = 1/(π · 0.8 · 9) = 0.04421
- (L/D)max = 1/(2√(k · 0.02)) = 16.81
- C_L* = √(C_D0/k) = 0.673
- R = (230 / (0.6/3600)) · 17 · ln 1.25 = 5235 km
- Answer
- (L/D)max = 16.8 at C_L = 0.67; range = 5235 km (2827 nmi).
- Sanity check
- At C_L* the two drag parts are equal (each 0.02), and L/D of 15–20 is the range quoted for modern transport aircraft in textbooks.
- Significance
- Range is linear in L/D and in engine efficiency but only logarithmic in fuel: adding fuel has diminishing returns.
Show the Python
import math
AR, e, CD0 = 9, 0.8, 0.02
k = 1/(math.pi*e*AR)
print(1/(2*math.sqrt(k*CD0)), math.sqrt(CD0/k))
V, c, LD, wr = 230, 0.6/3600, 17, 1.25
print(V/c*LD*math.log(wr)/1000, "km")Auto-checked practice
-
- (L/D)max = 1/(2√(k C_D0)) with k = 0.04421.
Full solution
(L/D)max = 19.42, about 15% better.
Practice
Why is c divided by 3600 in the worked example?
Show solution
TSFC is quoted per hour; V is in m/s, so c must be per second for R to come out in metres.
Common mistake
Mixing hours and seconds in TSFC; check units before taking the logarithm.
References
- J. D. Anderson Jr., Introduction to Flight, 8th ed., McGraw-Hill, 2016.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
Compressible flow and normal shocks
- Undergraduate (freshman–senior)
- Graduate
You will be able to
Derive stagnation (total) temperature and pressure; compute the flow change across a normal shock from the conservation laws.
Before you start
Energy equation, isentropic relations, solving simultaneous nonlinear equations. How Flight Works
Intuition first
Above about Mach 0.3, air density changes noticeably with speed. At supersonic speed, a shock is a sudden jump that conserves mass, momentum and energy but loses total pressure (entropy rises).
🧒 Explain like I’m 10
When a plane goes faster than sound, the air in front can’t get out of the way in time. It piles up into a thin wall called a shock wave: that’s the sonic boom you hear.
Step by step
- Steady energy equation with a = √(γRT).
- Isentropic deceleration to rest.
- Conservation across the shock.
- Normal-shock relations (solve the three equations).
Worked example
- Given
- Air (γ = 1.4) at M₁ = 2.0 meets a normal shock.
- Find
- T₀/T and p₀/p upstream; M₂, p₂/p₁ and the total-pressure ratio p₀₂/p₀₁.
- Strategy
- Isentropic relations upstream, normal-shock relations across, isentropic again downstream.
- Steps
- T₀/T = 1 + 0.2 · 4 = 1.800
- p₀/p = 1.8^3.5 = 7.8244
- M₂ = 0.57735
- p₂/p₁ = 1 + (2.8/2.4)(4 − 1) = 4.500
- p₀₂/p₀₁ = 0.72087
- Answer
- M₂ = 0.5774, p₂/p₁ = 4.50, p₀₂/p₀₁ = 0.7209.
- Sanity check
- Standard normal-shock tables (NACA Report 1135) list 0.5774, 4.500 and 0.7209 at M = 2. Flow behind a normal shock is always subsonic, and total pressure always drops.
- Significance
- Losing 28% of total pressure is why supersonic inlets use several oblique shocks instead of one normal shock.
Show the Python
import math
g, M1 = 1.4, 2.0
t = lambda M: 1 + (g-1)/2*M*M
M2 = math.sqrt(t(M1) / (g*M1**2 - (g-1)/2))
p21 = 1 + 2*g/(g+1)*(M1**2 - 1)
p0r = p21 * t(M2)**(g/(g-1)) / t(M1)**(g/(g-1))
print(t(M1), t(M1)**3.5, M2, p21, p0r)Auto-checked practice
-
- T₀/T = 1.2 at M = 1.
- Raise to the power γ/(γ−1) = 3.5.
Full solution
p₀/p = 1.2^3.5 = 1.8929 (the "critical" ratio, about 1.89).
Practice
Can a normal shock occur in subsonic flow?
Show solution
No: for M₁ < 1 the relations would require entropy to decrease, violating the second law.
Common mistake
Applying isentropic relations across the shock itself. Total pressure is not conserved through a shock.
References
- J. D. Anderson Jr., Fundamentals of Aerodynamics, 6th ed., McGraw-Hill, 2017.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
Jet propulsion: thrust and the Brayton cycle
- Undergraduate (freshman–senior)
You will be able to
Derive thrust from the momentum equation; derive ideal Brayton-cycle efficiency as a function of pressure ratio.
Before you start
Control volumes, first law of thermodynamics, isentropic relations. How Flight Works
Intuition first
The engine is a heat engine (Brayton cycle) that turns fuel energy into a fast jet. Higher compressor pressure ratio means higher thermal efficiency, which is why modern engines compress air 30–50 times.
🧒 Explain like I’m 10
A jet engine sucks in air, squeezes it, burns fuel to make it very hot, and blasts it out the back faster than it came in. Pushing air backward pushes the plane forward.
Step by step
- Momentum balance on the engine (fuel mass neglected).
- Heat in at constant pressure (2→3), out (4→1).
- Isentropic compression and expansion share the same pressure ratio.
Worked example
- Given
- Ideal Brayton cycle, γ = 1.4, compressor pressure ratio π_c = 30. Generic jet: ṁ = 100 kg/s, V₀ = 250 m/s, V_e = 600 m/s, p_e = p₀.
- Find
- Thermal efficiency and thrust.
- Strategy
- Use the two derived formulas.
- Steps
- (γ−1)/γ = 0.2857
- η = 1 − 30^(−0.2857) = 0.6216
- F = 100 · (600 − 250) = 35.0 kN
- Answer
- η = 0.622 (62.2%); F = 35 kN.
- Sanity check
- At π_c = 10 the formula gives 0.482: efficiency rises with pressure ratio, but ideally only; real components lose some of it.
- Significance
- Thrust needs V_e > V₀: big fans moving lots of air slowly (high bypass) are more efficient than small fast jets, which is why airliners use turbofans.
Show the Python
g, pic = 1.4, 30
print(1 - pic**(-(g-1)/g))
mdot, V0, Ve = 100, 250, 600
print(mdot*(Ve - V0)/1000, "kN")Auto-checked practice
-
- η = 1 − π_c^(−0.2857). Answer as a fraction, not a percentage.
Full solution
η = 1 − 40^(−0.2857) = 0.6514.
Practice
Why not raise the pressure ratio without limit?
Show solution
Compressor exit temperature rises too, leaving less room for heat addition before the turbine’s material temperature limit.
Common mistake
Forgetting that thrust depends on V_e − V₀, not V_e alone.
References
- J. D. Mattingly, Elements of Propulsion: Gas Turbines and Rockets, AIAA, 2006.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
Stability and control: the short-period mode
- Graduate
You will be able to
Write the 2-state [α, q] linear model in state-space form; find its eigenvalues, natural frequency and damping ratio; compare with published flying-qualities limits.
Before you start
Linear algebra (eigenvalues of a 2×2 matrix), second-order ODEs, complex numbers. How Flight Works
Intuition first
After a gust, the nose pitches and the angle of attack oscillates for a few seconds. Linearising the equations of motion about steady flight turns this into a 2×2 matrix whose eigenvalues tell you how fast and how well damped the motion is.
🧒 Explain like I’m 10
Throw a dart: if it wobbles, the feathers at the back straighten it out quickly. An airplane’s tail does the same. Engineers measure how fast the wobble dies away.
Step by step
- Short-period approximation (speed held constant).
- Characteristic equation.
- Match to the standard second-order form.
Worked example
- Given
- Illustrative derivatives for a generic high-performance jet (not a specific aircraft): Z_α/V = −1.0 s⁻¹, M_q = −1.5 s⁻¹, M_α̇ = −0.3 s⁻¹, M_α = −8.0 s⁻².
- Find
- Eigenvalues, ω_n, ζ, and whether ζ meets the Level 1 range.
- Strategy
- Form the characteristic polynomial, solve the quadratic, compare with MIL-STD-1797A (Category A, Level 1: 0.35 ≤ ζ ≤ 1.30).
- Steps
- s² + 2.8 s + 9.5 = 0
- s = -1.40 ± 2.7459 i
- ω_n = √9.5 = 3.0822 rad/s
- ζ = 2.8 / (2 · 3.0822) = 0.4542
- Answer
- ω_n = 3.08 rad/s, ζ = 0.45: inside the Level 1 band.
- Sanity check
- Both eigenvalues have negative real parts (stable). Product of roots = 9.5 = ω_n² and sum = −2.8 = −2ζω_n, as Vieta’s formulas require.
- Significance
- If M_α became positive (center of gravity too far aft), ω_n² could go negative and the aircraft would diverge: why fly-by-wire control laws are designed with these eigenvalues.
Show the Python
import numpy as np
ZaV, Mq, Mad, Ma = -1.0, -1.5, -0.3, -8.0
A = np.array([[ZaV, 1.0], [Ma + Mad*ZaV, Mq + Mad]])
lam = np.linalg.eigvals(A)
wn = np.sqrt(np.prod(lam).real); zeta = -lam.sum().real / (2*wn)
print(lam, wn, zeta)Auto-checked practice
-
- New coefficients: s² + 1.8 s + 8.5.
- ζ = 1.8/(2√8.5).
Full solution
ζ = 0.309: below 0.35, so it falls out of Level 1 (pilots would feel the nose bobbing).
Practice
What does a positive real part of an eigenvalue mean physically?
Show solution
The disturbance grows exponentially: the aircraft is unstable in that mode.
Common mistake
Sign conventions: M_α must be negative for a statically stable aircraft. A sign error flips stability.
References
- B. Etkin, L. D. Reid, Dynamics of Flight: Stability and Control, 3rd ed., Wiley, 1996.
- U.S. Department of Defense, MIL-STD-1797A, Flying Qualities of Piloted Aircraft, 1990 (approved for public release).
- MIT OpenCourseWare, 16.100 Aerodynamics (CC BY-NC-SA 4.0).
Rotorcraft: momentum and blade-element theory
- Undergraduate (freshman–senior)
- Graduate
- PhD / research
You will be able to
Derive induced velocity and ideal hover power from momentum conservation; use disk loading and figure of merit.
Before you start
Control-volume momentum and energy, Bernoulli’s equation. How Flight Works
Intuition first
Treat the rotor as an "actuator disk" that adds momentum to the air passing through it. The faster the air must be pushed (high disk loading), the more power per newton of thrust.
🧒 Explain like I’m 10
A helicopter stays up by throwing air down very hard. Bigger blades can throw more air more gently, which takes less power, like using a big shovel instead of a spoon.
Step by step
- Momentum: thrust equals mass flow times the far-wake velocity w.
- Energy: power at the disk equals kinetic energy flux in the wake.
- Induced velocity, ideal power, figure of merit.
- Blade-element theory: each strip of blade is a small airfoil at angle θ − φ, where the inflow angle φ comes from the induced velocity.
- Integrate from root to tip with uniform inflow: thrust coefficient in terms of solidity σ, lift slope a and pitch at 75 % radius.
- Combined blade-element momentum theory (BEMT): set the blade-element thrust equal to the momentum-theory thrust and solve the quadratic for λ.
- Power = induced part + profile part from blade drag. This is why FM stays below 1.
Worked example
- Given
- Generic light helicopter: m = 2700 kg, rotor radius R = 5.1 m, sea level ρ = 1.225 kg/m³; measured hover power (illustrative) 400 kW.
- Find
- Disk loading, v_i, P_ideal and FM.
- Strategy
- Thrust equals weight in hover; apply the momentum-theory results.
- Steps
- T = 2700 · 9.80665 = 26478 N
- A = π · 5.1² = 81.71 m² → T/A = 324 N/m²
- v_i = √(T / (2ρA)) = 11.50 m/s
- P_ideal = T v_i = 304.5 kW
- FM = 304.5 / 400 = 0.761
- Answer
- v_i = 11.5 m/s, P_ideal = 305 kW, FM = 0.76.
- Sanity check
- Leishman reports figures of merit of about 0.7–0.8 for well-designed rotors, so 0.76 is realistic. FM must be below 1.
- Significance
- P grows as T^(3/2) and falls with rotor area, which is why helicopters have long blades and why hovering high and hot costs so much power.
Show the Python
import math
m, R, rho = 2700, 5.1, 1.225
T = m*9.80665; A = math.pi*R*R
vi = math.sqrt(T/(2*rho*A)); P = T*vi
print(T/A, vi, P/1000, P/1000/400)Auto-checked practice
- kW
- P_ideal = T^(3/2) / √(2ρA).
- P scales as 1/R.
Full solution
A = 113.10 m²; P_ideal = 258.8 kW (vs 304.5 kW at R = 5.1 m).
-
- Convert 8° to radians, then use the closed form for λ.
- λ = 0.0498; then C_T = 2λ².
Full solution
θ = 0.13963 rad, λ = 0.04980, C_T = 0.00496. With C_d0 = 0.011: C_P = 0.000357, FM = 0.692. At 10° pitch C_T = 0.00670 and FM = 0.779: a more heavily loaded rotor is more efficient.
Practice
Why can FM never reach 1 in reality?
Show solution
Real rotors also spend power on blade profile drag, non-uniform inflow, tip losses and swirl, which momentum theory ignores.
In BEMT, why do we quote blade pitch at 75 % radius?
Show solution
Thrust grows with r², so the outer blade dominates; for linearly twisted blades the pitch at 0.75R gives the same C_T as the full twist distribution under uniform inflow.
Common mistake
Using diameter instead of radius in A = πR².
References
- J. G. Leishman, Principles of Helicopter Aerodynamics, 2nd ed., Cambridge University Press, 2006.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
CFD basics: finite differences, accuracy and stability
- Graduate
- PhD / research
You will be able to
Derive finite-difference formulas and their truncation error from Taylor series; state the explicit stability limit for the heat (diffusion) equation; connect to the Navier–Stokes equations.
Before you start
Taylor series, PDEs (diffusion equation), Fourier modes. How Flight Works
Intuition first
The Navier–Stokes equations have no general closed-form solution, so engineers discretise them. Two questions decide whether a scheme is useful: how fast does the error shrink as the grid is refined (accuracy), and does the error stay bounded (stability)?
🧒 Explain like I’m 10
A computer can’t see smooth air, so it chops the air into tiny boxes and works out what each box does next, one small time step at a time, like a giant spreadsheet.
Step by step
- Taylor expansions about x.
- Forward difference is first order; central is second order.
- Explicit scheme for diffusion; von Neumann analysis gives the stability limit.
- Incompressible Navier–Stokes: the viscous term is this same diffusion operator.
Worked example
- Given
- f(x) = sin x at x = 1, step h = 0.1. Exact f′(1) = cos 1 = 0.540302.
- Find
- Forward and central estimates and their errors.
- Strategy
- Evaluate both formulas; compare with the leading error terms (h/2)|f″| and (h²/6)|f‴|.
- Steps
- forward = (sin 1.1 − sin 1)/0.1 = 0.497364 → error 0.04294
- central = (sin 1.1 − sin 0.9)/0.2 = 0.539402 → error 0.000900
- (h/2) sin 1 = 0.04207; (h²/6) cos 1 = 0.00090
- Answer
- Forward error 0.0429; central error 0.00090, about 48 times smaller.
- Sanity check
- Both errors match the predicted leading terms (0.0421 and 0.0009); halving h would halve the first and quarter the second.
- Significance
- Order of accuracy, not just grid size, decides the cost of a CFD answer; the stability limit r ≤ 1/2 is why explicit solvers need tiny time steps on fine grids.
Show the Python
import math
x, h = 1.0, 0.1
fwd = (math.sin(x+h) - math.sin(x)) / h
cen = (math.sin(x+h) - math.sin(x-h)) / (2*h)
print(fwd, cen, abs(fwd - math.cos(x)), abs(cen - math.cos(x)))Auto-checked practice
- s
- r = νΔt/Δx² ≤ 1/2.
- Δx = 0.001 m, so Δx² = 10⁻⁶ m².
Full solution
Δt ≤ 0.5 · 10⁻⁶ / 10⁻⁵ = 0.05 s.
Practice
Halving Δx in the explicit diffusion scheme changes the maximum Δt by what factor?
Show solution
It is divided by 4, because Δt_max ∝ Δx². Implicit schemes avoid this limit.
Common mistake
Shrinking h too far in floating point: round-off error grows as h gets tiny, so there is an optimum h.
References
- J. D. Anderson Jr., Computational Fluid Dynamics: The Basics with Applications, McGraw-Hill, 1995.
- J. D. Anderson Jr., Fundamentals of Aerodynamics, 6th ed., McGraw-Hill, 2017.
- MIT OpenCourseWare, 16.100 Aerodynamics (CC BY-NC-SA 4.0).
Check your understanding
Go deeper
Next: the physics track (coming), Anderson’s Fundamentals of Aerodynamics for full derivations, Etkin & Reid for flight dynamics and Leishman for rotorcraft research.
For teachers and instructors
Suggested use: one 50-minute session per section. Undergraduate path: atmosphere → airfoil → finite wing → performance → propulsion, with the Aero Lab stall calculator as a live demo. Graduate path: compressible flow → short-period stability (assign the eigenvalue Python as a lab, then vary M_α and M_q in the Aero Lab) → rotor momentum theory → CFD basics. All aircraft values are generic and illustrative; every numeric answer is computed by the build script and doubles as an answer key. Aligned with MIT OCW 16.100 Aerodynamics topics.
References
- J. D. Anderson Jr., Fundamentals of Aerodynamics, 6th ed., McGraw-Hill, 2017.
- J. D. Anderson Jr., Introduction to Flight, 8th ed., McGraw-Hill, 2016.
- NOAA, NASA, USAF, U.S. Standard Atmosphere, 1976, U.S. Government Printing Office, 1976.
- B. Etkin, L. D. Reid, Dynamics of Flight: Stability and Control, 3rd ed., Wiley, 1996.
- U.S. Department of Defense, MIL-STD-1797A, Flying Qualities of Piloted Aircraft, 1990 (approved for public release).
- J. G. Leishman, Principles of Helicopter Aerodynamics, 2nd ed., Cambridge University Press, 2006.
- J. D. Mattingly, Elements of Propulsion: Gas Turbines and Rockets, AIAA, 2006.
- J. D. Anderson Jr., Computational Fluid Dynamics: The Basics with Applications, McGraw-Hill, 1995.
- NASA Glenn Research Center, Beginner’s Guide to Aeronautics.
- MIT OpenCourseWare, 16.100 Aerodynamics (CC BY-NC-SA 4.0).