%% Calculate rayleigh4
%% Calculate rayleigh4
% Calculate the Rayleigh line flow relations for gases with specific heat ratio and static pressure ratio combinations as shown.

gamma = [1.3,1.4];
P = [0.13,1.7778];
[mach,T,P,rho,velocity,T0,P0] = flowrayleigh(gamma,P,'pres')

% Copyright 2015 The MathWorks, Inc.