We need to find the work done to put the hanging part back on the table. Let's consider a small element of length $dx$ at a distance $x$ from the table. The mass of this element will be $\frac{m}{l}dx$ (since the chain is uniform, the mass per unit length is
Show more…