From the part (i), the volume of a cylindrical pancake at the height from is
Combining with the constant density of the fluid , the mass of the pancake is
Then, by Newton's second law of motion with
, we can raise the pancake by applying the compensating force to the pancake
Finally, to move the fluid in the pancake at height out of the reservoir, we need to raise , so that the required work is
Integrating it in the range , the work required to pump all the fluid out of the top of the reservoir is
Answer: