Moment of the bar magnet, M = 0.32 J T−1
External magnetic field, B = 0.15 T
(a)The bar magnet is aligned along the magnetic field. This system is considered as being in stable equilibrium. Hence, the angle θ, between the bar magnet and the magnetic field is 0°.

(b)The bar magnet is oriented 180° to the magnetic field. Hence, it is in unstable equilibrium. θ = 180° Potential energy = − MB cos θ
