HalfEllipsoid:

Path: Airships/Modeling

% Compute volume, surf area, centroid and specific MOI of half-ellipsoid
--------------------------------------------------------------------------
   Form:
   [V,S,cSld,cShl,inrSld,inrShl] = HalfEllipsoid( a, b );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a          (1)   Length along axis of rotation
   b          (2)   Radius at max cross-section
                       Note: a==b is a hemisphere


   -------
   Outputs
   -------
   V          (1)   Volume
   S          (1)   Surface Area
   cSld       (1)   Centroid of solid
   cShl       (1)   Centroid of shell
   inrSld     (1)   Specific inertia of solid, multiply by density for I
   inrShl     (1)   Specific inertia of shell, multiply by density for I

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

Back to the Airships Module page