Each cross section has side length equal to
satisfying
, where
so that
.
The exact volume is given by the definite integral,

Take a slice at any value of
with thickness
. Then the slice has volume
.
The approximate total volume of these slices is then given by the Riemann sum,

where
are chosen however you like from the range above.
Compute the definite integral above for the exact volume: you can do this by parts, taking



The remaining integral can be done by parts again, this time with



and of course

So we have

