In applying the method , Eudoxus proved such mathematical statements as : areas of circles are to one another as the squares of their radii , volumes of spheres are to one another as the cubes of their radii , the volume of a pyramid is one-third the volume of a prism with the same base and altitude , and the volume of a cone is one-third that of the corresponding cylinder .