%% Calculate normal shock4
%% Calculate normal shock4
% Calculate the normal shock relations for gases with specific heat ratio and downstream Mach number combinations as shown.

gamma = [1.3, 1.4];
downstream_mach = [.34, .49];
[mach, T, P, rho, downstream_mach, P0, P1] = flownormalshock(gamma,...
 downstream_mach, 'down')

% Copyright 2015 The MathWorks, Inc.