Length of the chain is
m.
Mass of the chain is
kg.
From the newtons second law:
.
In this case
.
Substitute
and
in
.
.
The part of the chain
-meters from the lifted end is raised to
m if
.
Work done as a Riemann sum is
.

J.
Work done required is
J.
Work done required is
J.