Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010E

3.13.6 arspmfv - Mach number from v(M)
double arspmfv(double g, double v);

Computes the mach number M given the Prandtl-Meyer angle v(M)  .

Performance
Iterative

Arguments

G - REAL

ENTRY: Specific heat constant γ .

V - REAL

ENTRY: Prandtl-Meyer angle v(M) ≤90(√︃ γ+1-1)
           γ-1.

Return value
This function returns the mach number M for the given mach Prandtl-Meyer angle v(M)  or NAN (Not-a-Number) if an error has occurred).