A bar magnet having a magnetic moment of 2×104JT−1 is free to rotate in a horizontal plane. A horizontal magnetic field
B=6×10−4T exits in the space. the work done in taking the magnet slowly from a direction parallel to the field to a direction 600 from the field is