A bar magnet for dipole moment 104 JT−1 is free to rotate around a horizontal plane. A horizontal magnetic field 4×10−5 T exists on the space. Find the work done in rotating the magnet slowly from a direction parallel to the field to a direction 600 from the field.