A uniform chain of length L and mass M overhangsa horizontal table with its two third part on the table. The friction coefficient between the table and the chain is μ. Find the work done by the friction during the period the chain slips off the table.