%% Calculate normal shock2
%% Calculate normal shock2
% Calculate the normal shock relations for gases with specific heat ratios given in the following 1 x 4 row array for upstream Mach number 1.5.

gamma = [1.3, 1.33, 1.4, 1.67];
[mach, T, P, rho, downstream_mach, P0, P1] = flownormalshock(gamma, 1.5)

% Copyright 2015 The MathWorks, Inc.