Path: Orbit/OrbitMechanics
% Computes the sphere of influence ratio
 Computes the ratio of the sphere of influence to the distance between two
 bodies. Uses 2/5 power based on the argument due to Lagrange.
   m                         M
   ?-------------------------?
   |<---------- 1 ---------->|
   |----->|
     rOR
--------------------------------------------------------------------------
   Form:
   rOR = SphOI( m, M )
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   m              (1,n)  Mass of planet of interest
   M              (1,m)  Mass of other planet
   -------
   Outputs
   -------
   rOR            (n,m)  Ratio of sphere of influence for m to
                         distance between the two planets
--------------------------------------------------------------------------
   References:	Wiesel, W. E., Spaceflight Dynamics, McGraw-Hill, 1988,
               pp. 288-291.
--------------------------------------------------------------------------
Common: Database/Constant Common: Graphics/Mesh2 Math: Linear/DupVect
Back to the Orbit Module page