A square pyramid is filled with water at density 1000kg/m3. At its base, the dimensions is 10m times 10m. The height of the pyramid is 10m as well. Find the work needed to pump all the water out of the pyramid, assuming water is pumped out through an outflow pipe 1m from the top of the pyramid. Take the gravitational constant as 9.8m/s2.