A conducting wire PQ of mass 1.8 kg and length 2 m can freely slide on a pair of parallel, smooth rails placed in a magnetic field of magnitude 1 T. The rails are connected by a capacitor of capacitance 0.5 F. The electric resistance of the rails and wire is zero. A constant force F acts on the wire as shown. Find the value of F if the acceleration of the wire is 5 m/s2.