A rectangular loop of sides 10cm and 5 cm carrying a current I of 12A is placed in different orientations as shown in the figure below.
If there is a uniform magnetic field of 0.3T in the positive z-direction, in which orientations the loop would be in (i) stable equilibrium and (ii) unstable equilibrium: