experience and innovation

Now Hiring!

--------------------------------------------------------------------------
   Compute initial velocity and flight time for a missile trajectory

   Given an initial altitude and flight path angle for the missile, compute
   the required velocity for it to hit the target. The target is located at 
   a given altitude and a specified angular distance (around the Earth) 
   away from the missile.
--------------------------------------------------------------------------
   Form:
   [V,tF] = MissileVelocity( gamma, h0, hF, angleDist )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   gamma           (1,1) Initial flight path angle (rad)
   h0              (1,1) Initial altitude (km)
   hF              (1,1) Final altitude (km)
   angleDist       (1,1) Angular distance of flight around Earth (rad)

   -------
   Outputs
   -------
   V               (1,1) Initial velocity required (km/s)
   tF              (1,1) Flight Time (sec)

   See also MissileDistance, MissileLambert
--------------------------------------------------------------------------
   References:   Zarchan, P. (2002) Tactical and Strategic Missile
                    Guidance, 4th Edition, pp. 239-244.
--------------------------------------------------------------------------