text: Compute for the total volume of the sphere and subtract the empty portion of the sphere.\n\nThe volume of the sphere is:\n\nV = 4/3 pi R^3\n\nThe volume of the empty portion (Spherical cap):\n\nV = 1/3 pi h^2 (3R - h)\n\nh is the height of the empty portion.