(a) (1) Integral formula:
(2) Setup:
Coordinate system: set at the top of the tank, increasing downwards.
Horizontal slice of the tank: disk of radius at depth , satisfies:
Distance pumped up (add for the spigot):
Thus:
(b) (1) Change upper bound, top of water at :