calculating the volume of a solid of revolution