The correct option is D mgl(1−cos θ)
In this case three forces are acting on the object:
1. Tension (T)
2. Weight (mg) and
3. Applied force (F)
Using work-energy theorem
Wnet=ΔKE
or WT+Wmg+WF=0....(i)
as ΔKE=0
because Ki=Kf=0
Further, WT=0, as tension is always perpendicular to displacement.
Wmg=−mgh or Wmg=−mgl(1−cos θ)
As by the figure the height reached by the mass(m) is h=l(1−cosθ), where l is the length of the string
Substituting these values in Eq. (i), we get
WF=mgl(1−cos θ)
Hence option D is the correct answer