%% Calculate rayleigh2
%% Calculate rayleigh2
% Calculate the Rayleigh line flow relations for gases with specific heat ratios given in the following 1 x 4 row array for the Mach number 0.5.

gamma = [1.3,1.33,1.4,1.67];
[mach,T,P,rho,velocity,T0,P0] = flowrayleigh(gamma,0.5)

% Copyright 2015 The MathWorks, Inc.