A (perfect) dipole p is situated a distance $z$ above an infinite grounded conducting plane (Fig. 4.7). The dipole makes an angle $\theta$ with the perpendicular to the plane. Find the torque on $\mathbf{p}$. If the dipole is free to rotate, in what orientation will it come to rest?