center of gravity of a segment of a sphere