VToC3:

Path: Interplanetary/Mechanics

% Convert orbital velocity to C3 energy
 C3 is a measure of the excess specific energy over that required to just
 barely escape from a massive body. C3 is twice the specific orbital
 energy of the escaping object. A negative C3 means the object is in orbit
 while a positive C3 means it has escaped. Type VToC3 for a heliocentric
 demo.
--------------------------------------------------------------------------
   Form:
   c3 = VToC3( v, r, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v       (1,:) Velocity (km/s)
   r       (1,1) Distance from central body (km)
   mu      (1,1) Gravitational parameter (default: sun)

   -------
   Outputs
   -------
   c3       (1,:) C3 characteristic energy (km^2/s^2)

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

Children:

Orbit: OrbitMechanics/VOrbit
Common: Database/Constant
Common: Graphics/Plot2D

Back to the Interplanetary Module page