A short bar magnet of magnetic moment m = 0.32 J T-1 is placed in a uniform magnetic field of 0.15 T. If the bar is free to rotate in the plane of the field, which orientation would correspond to its ( a ) stable, and ( b) unstable equilibrium? What is the potential energy of the magnet in each case?