%% Calculate rayleigh1
%% Calculate rayleigh1
% Calculate the Rayleigh line flow relations for air (gamma= 1.4) for supersonic total pressure ratio 1.2.

[mach,T,P,rho,velocity,T0,P0] = flowrayleigh(1.4,1.2,'totalpsup')

% Copyright 2015 The MathWorks, Inc.