experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Converts perigee and apogee to semi-major axis and eccentricity
-------------------------------------------------------------------------------
   Form:
   [a, e] = RPRA2AE( rP, rA )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   rP              (1,1) Perigee
   rA              (1,1) Apogee

   -------
   Outputs
   -------
   a               (1,1) Semi-major axis
   e               (1,1) Eccentricity

-------------------------------------------------------------------------------
	  References:	  Bate, R.R., et. al. Fundamentals of Astrodynamics, pp. 70-71.
-------------------------------------------------------------------------------