Return the semimajor axis given the semiminoraxis (b) and eccentricity (e).
Examples
Scalar input:
earth_b = 6356752.314245; ## meter earth_ecc = 0.081819221456; a = majaxis (earth_b, earth_ecc) => a = 6.3781e+06
Vector input:
planets_b = [ 6356752.314245 ; 66854000 ]; ## meter planets_ecc = [ 0.081819221456 ; 0.3543164 ]; planets_a = majaxis ( planets_b , planets_ecc ) => planets_a = 6.3781e+06 7.1492e+07
See also: minaxis.
Package: mapping