Lets say we have a well full of water (For now lets say it is cylindrical) .Lets say its height is $h$$well$. The water is filled upto a height $h$$water$. The radius of the well (cylindrical) is $r$ .Here , $h$$water$ $\lt$ $h$$well$ . A Pump has to bring all of that water from the well upto the height $h$$target$. The question is , after the pump is done emptying the entire well , How much work $W$ the pump has done in total ?
With that , there is also some more general question I can ask along the way.Lets say , I have a function $f(x)$ .Now I will rotate it $360$$o$ .To create a solid of revolution , and hollow it out. Lets say its height is $h$$well$. The water is filled upto a height $h$$water$. Here , $h$$water$ $\lt$ $h$$well$ .A Pump has to bring all of that water from the well upto the height $h$$target$.With this general setup ,How much work $W$ the pump has done in total after the pump is done emptying the entire well ?
Maybe , If I don't want to pull all the water , and let there have some leftover water with height $h$$leftover$ in the general well , then how much work $W$ I will do?