Volume formulas for cones, cylinders, and spheres