SwitchTime:

Path: Orbit/StraightLine

% Calculate the switch time for a straight line trajectory
 This ensures the the final velocity is zero. It assumes that the 
 thrust and exhaust velocity are constant.

 Type SwitchTime for a demo.
--------------------------------------------------------------------------
   Form:
   tS = SwitchTime( thrust, uE, tF, m0 )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   thrust	(1,1) Thrust (N)
   uE      (1,1) Exhaust velocity (km/s)
   tF      (1,1) Duration (s)
   m0      (1,1) Initial mass (kg)

   -------
   Outputs
   -------
   tS      (1,1)	Switch time (s)

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

Back to the Orbit Module page