Volumes:
--------------------------------------------------------------------------
Computes volumes of common objects about their c.m. All objects
have their axis of symmetry about z. If you enter a thickness with
'cylinder', 'box' or 'sphere' it will automatically compute the hollow
versions.
Since version 10.
--------------------------------------------------------------------------
Form:
vol = Volumes( m, x, type)
--------------------------------------------------------------------------
------
Inputs
------
m (1,1) Mass
x Relevant dimensions
type Type of solid
'sphere' x = [radius]
'box' x = [xLength, yLength, zLength]
'plate' x = [xLength, yLength]
'disk' x = [radius]
'cylinder' x = [radius, zLength]
'ellipsoid' x = [a b c]
'hollow cylinder' x = [outer radius, zLength, thickness]
'hollow box' x = [xLength, yLength, zLength, thickness]
'hollow sphere' x = [radius, thickness]
-------
Outputs
-------
vol (1,1) volume
--------------------------------------------------------------------------