calculating the volume of a solid of revolution around the oy axis