A bar magnet having a magnetic moment of is free to rotate in a horizontal plane. A horizontal magnetic field exists in the space. The work done in taking the magnet slowly from a direction parallel to the field to a direction from the field is
(a) 0.6 J (b) 12 J
(c) 6 J (d) 2 J
Difficulty Level: