"Suppose it takes $k$ units of energy to lift a cubic meter of water one meter. About how much energy $E$ will take to remove all water from a cylinder with one meter in diameter and 100 meters deep? (Answer should depend on $k$.)"
It looks pretty straightforward but I encounter one problem.
So as I understood
$E = k*\frac{V}{h}$ where V is the volume and h is the height.
substituting for volume we get
$$E = k\frac{\Pi}{4h}dh$$
after setting integral from 0 to 100 and solving I get
$$ k\frac{\Pi}{4}(ln(100) - ln(0))$$
and obviously ln(0) is undefined.
Can you please point out what did I do wrong?
You lost a factor $h$ because of the distance you must lift the volume. If $A$ is the cross sectional area, a small unit of volume is $dV=Adh$. If we measure $h$ with $0$ at the top of the tank and increasing downward, the small unit of volume at coordinate $h$ takes $dE=khdV=khAdh$ to remove it. Now you can integrate over $h$ from $0$ to $100$. You get something in $h^2$, which is reasonable because the average bit of water gets lifted $\frac h2$ and you have $h$ height of water.