Two identical cylindrical vessels with their bases at same level each contains a liquid of density d. The height of the liquid in one vessel is h1 and that in the other vessel is h2. The area of either bases is A. The work done by gravity in equalizing the levels when the two vessels are connected, is
14(h1−h2)2gAd
Potential energy of liquid column is given by mgh2=Vdgh2=Ahdgh2=12Adgh2
Initial potential energy =12Adgh21+12Adgh22
Final potential energy =12Adgh2+12Adh2g=Adgh2
Work done by gravity = change in potential energy
W=[12Adgh21+12Adgh22]−Adgh2
=Adg[h212+h222]−Adg(h1+h22)2 [As h=h1+h22]
=Adg[h212+h222−(h21+h22+2h1h24)]=Adg4(h1−h2)2