If a bar magnet of magnetic moment M is freely suspended in a uniform magnetic field of strength B, the work done in rotating the magnet through an angle θ is
Given that,
Magnetic moment = M
Magnetic field of strength = B
We know that,
dW=MBsinθ dθ
Now, the work done in rotating the magnet through an angle θ from initial position(θ1=00)is W=MB(cosθ1−cosθ)
W=MB(cos00−cosθ)
W=MB(1−cosθ)
Hence, the work done in rotating the magnet through an angle θ is MB(1−cosθ)