a pyramid has a square base with sides of length s the height of the pyramid is equal to 1/2 of the length of a side on the base which formula represents the volume of the pyramid