Problem 27    Due 4/20/01

The moment of inertia of a solid object
is defined as the integral of the density
times the square of the distance from the
axis of rotation over the volume of the
object.  Thus for an object spinning about
the z-axis,

I = integral [ (x^2 + y^2) * density ] dV

If you are unsure about this, just look it 
up in your physics text.

Write a program which computes the moment of
inertia of the prolate spheroid formed by
rotation of the ellipse (z/a)^2 + (x/b)^2 = 1
about the z axis where a=2cm and b=1cm.  You
may assume the density to be that of glass,
around 2.5 g/cm3.  Calculate the moment of inertia
for the rotation of this spheroid about the 
x, y, and z axes.  Determine the integral to
at least three significant digits.  Why are 
the values not all the same?