FlybyOptimalImpulse:

Path: StraightLine/Flyby

% Find exhaust velocity to maximise payload fraction (fminsearch)
 Find the best exhaust velocity given the distance and target time
--------------------------------------------------------------------------
 Form:
 [uEOpt,lambda] = FlybyOptimalImpulse( d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d        (.)    Engine data structure
                      See Straight2DStructure

   -------
   Outputs
   -------
   P    (1,1)    Power (MW)
   m0   (1,1)    Initial mass (kg)
--------------------------------------------------------------------------
 See also ZeroPayloadFlyby, SolveLambdaFlyby
--------------------------------------------------------------------------