experience and innovation

Now Hiring!

--------------------------------------------------------------------------
   Compute the maximum range for a missile given its initial velocity.
   Also returns the initial flight path angle required to reach the max
   range.

   Assumes spherical Earth and initial / final altitudes of zero.
--------------------------------------------------------------------------
   Form:
   [maxRange,gammaOpt] = MissileMaxRange( V );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   V           (1,N)   Initial velocity (km/s)
                       

   -------
   Outputs
   -------
   maxRange    (1,N)   Maximum range around the Earth (km)
   gammaOpt    (1,N)   Optimal flight path angle to reach max range (rad)

--------------------------------------------------------------------------