%% Calculate normal shock3
%% Calculate normal shock3
% Calculate the normal shock relations for a specific heat ratio of 1.4 and range of density ratios from 2.40 to 2.70 in increments of 0.10.

[mach, T, P, rho, downstream_mach, P0, P1] = flownormalshock(1.4,...
 (2.4:.1:2.7)', 'dens')

% Copyright 2015 The MathWorks, Inc.