Compute ramjet thrust for a constant dynamic pressure trajectory

Constant dynamic pressure is often recommended for scramjet trajectories.

This function computes the thrust for a ramjet. The velocity used produces constant dynamic pressure.

%--------------------------------------------------------------------------
%   Copyright (c) 2016 Princeton Satellite Systems, Inc.
%   All rights reserved.
%--------------------------------------------------------------------------
%   Since 2016.1
%--------------------------------------------------------------------------

h       = linspace(0,40); % Altitude (km)
q       = 7000; % Dynamic pressure (N/m^2)
[v, m]	= ConstantDynamicPressureVelocity( h, q );
p       = StdAtm(h);
d       = RamjetKerrebrock;
RamjetKerrebrock( m, d, p );

%--------------------------------------