LunarDisplacement:

--------------------------------------------------------------------------
   Compute the sail acceleration needed for a displaced lunar Lagrange halo.
   An optimal sail pitch angle of atan(1/sqrt(2)) is assumed.
   See also LunarHalo.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   [accel,r0] = LunarDisplacement( z0, L, muM, muE )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   z0      (1,:)    Out-of-plane displacement from the Lagrange point (km)
   L       (1,1)    Index to collinear Lagrange point (1, 2, 3)
   muM     (1,1)    Moon gravitational parameter (optional)
   muE     (1,1)    Earth gravitational parameter (optional)

   -------
   Outputs
   -------
   accel   (1,:)    Sail characteristic acceleration (km/s2)
   r0      (3,:)    Dimensions of halo (x,y,z)

--------------------------------------------------------------------------
   Reference: Colin R. McInnes, "Solar Sailing: Technology, Dynamics and Mission  
              Applications", Springer Praxis, London, 1999.
--------------------------------------------------------------------------

Children:

Common: Database/Constant
SC: Ephem/LagrangePointsL1ToL5
Sail: Analysis/LunarHalo