Geometric series and volumes of cylinders