An object of mass m is tied to a string of length l and a variable force F is applied on it which brings the string gradually to an angle θ with the vertical. The work done by the force F is