A uniform chain of mass M and length L is held on a horizontal frictionless table with 1nth of its length hanging over the edge of the table. The work done is pulling the chain up on the table is