work done by the external force against the gravitational force exerted by ring is