When the speed of sound is known, the Mach number at which an aircraft is flying can be calculated by \mathrm{M} = \frac{u}{c} where: • M is the Mach number •
u is
velocity of the moving aircraft and •
c is the
speed of sound at the given altitude (more properly temperature) and the speed of sound varies with the
thermodynamic temperature as: \begin{align} c &= \sqrt{\gamma R_* T} &&R_* = \frac{R}{M_\text{dry air}}\\ R &= 8.31446261815324 &&M_\text{dry air} \approx 0.0289647\\ \gamma &\approx 1.4 && R_* \approx 287.055023\\ c &\approx 20.046871\sqrt{T} &&M \approx \frac{u}{20.046871\sqrt{T}} \end{align} where: • \gamma\, is the
ratio of specific heat of a gas at a constant pressure to heat at a constant volume (e.g. 1.4 for room temperature dry air) • R_* is the
specific gas constant for dry air, • T, is the static air temperature in
Kelvins. If the speed of sound is not known, Mach number may be determined by measuring the various air pressures (static and dynamic) and using the following formula that is derived from
Bernoulli's equation for Mach numbers less than 1.0. Assuming air to be an
ideal gas, the formula to compute Mach number in a subsonic compressible flow is: \mathrm{M} = \sqrt{\frac{2}{\gamma- 1 }\left[\left(\frac{q_c}{p} + 1\right)^\frac{\gamma - 1}{\gamma} - 1\right]}\, where: •
qc is
impact pressure (dynamic pressure) •
p is
static pressure • \gamma\, is the
ratio of specific heat of a gas at a constant pressure to heat at a constant volume (1.4 for air) The formula to compute Mach number in a supersonic compressible flow is derived from the
Rayleigh supersonic pitot equation: \frac{p_t}{p} = \left[\frac{\gamma + 1}{2}\mathrm{M}^2\right]^\frac{\gamma}{\gamma-1} \cdot \left[\frac{\gamma + 1}{1 - \gamma + 2\gamma\, \mathrm{M}^2}\right]^\frac{1}{\gamma - 1}
Calculating Mach number from pitot tube pressure Mach number is a function of temperature and true airspeed. Aircraft
flight instruments, however, operate using pressure differential to compute Mach number, not temperature. Assuming air to be an
ideal gas, the formula to compute Mach number in a subsonic compressible flow is found from Bernoulli's equation for (above): \mathrm{M} = \sqrt{5\left[\left(\frac{q_c}{p} + 1\right)^\frac{2}{7} - 1\right]}\, The formula to compute Mach number in a supersonic compressible flow can be found from the Rayleigh supersonic pitot equation (above) using parameters for air: \mathrm{M} \approx 0.88128485 \sqrt{\left(\frac{q_c}{p} + 1\right)\left(1 - \frac{1}{7\,\mathrm{M}^2}\right)^{2.5}} where: •
qc is the dynamic pressure measured behind a normal shock. As can be seen, M appears on both sides of the equation, and for practical purposes a
root-finding algorithm must be used for a numerical solution (the equation is a
septic equation in M2 and, though some of these may be solved explicitly, the
Abel–Ruffini theorem guarantees that there exists no general form for the roots of these polynomials). It is first determined whether M is indeed greater than 1.0 by calculating M from the subsonic equation. If M is greater than 1.0 at that point, then the value of M from the subsonic equation is used as the initial condition for
fixed point iteration of the supersonic equation, which usually converges very rapidly. Alternatively,
Newton's method can also be used. == See also ==