AirshipGeometry:

--------------------------------------------------------------------------
   Compute the main geometric properties of an airship hull.
   Assume a double-ellipsoid configuration.
--------------------------------------------------------------------------
   Form:
   [S, V, a1, a2, b] = AirshipGeometry( L, D, ratio )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   L           (1)       Length of hull                       [m]
   D           (1)       Diameter of hull                     [m]
   ratio       (1)       Ratio of rear to front ellipsoid length

   -------
   Outputs
   -------
   S           (1)       Surface aera                         [m^2]
   V           (1)       Volume                               [m^3]
   a1          (1)       Semi-major axis of front ellipsoid   [m]
   a2          (1)       Semi-major axis of rear ellipsoid    [m]
   b           (1)       Semi-minor axis of each ellipsoid    [m]

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

Children:

Airships: Modeling/HalfEllipsoid