A point charge q of mass m is suspended vertically by a string of length l. A point dipole of dipole moment $p $ is now brought towards q from infinity so that the charge moves away. The final equilibrium position of the system including the direction of the dipole, the angles and distances is shown in the figure below. If the work done in bringing the dipole to this position is $N×(mgh),$ where g is the acceleration due to gravity, then the value of N is ______. (Note that for three coplanar forces keeping a point mass in equilibrium, $sinθF $ is the same for all forces, where F is any one of the forces and $θ$ is the angle between the other two forces)