To solve this problem, we need to calculate the work done when a bar magnet is rotated in a magnetic field. The formula for the work done by a magnetic field when rotating a magnetic dipole is given by:
W = M \cdot B \cdot (\cos \theta_1 - \cos \theta_2)
where:
Given:
Substituting the values into the formula:
W = 2 \times 10^{4} \times 6 \times 10^{-4} \times (\cos 0^{\circ} - \cos 60^{\circ})
Calculate the cosines:
Now plug the cosine values back into the equation:
W = 2 \times 10^{4} \times 6 \times 10^{-4} \times (1 - 0.5)
W = 2 \times 10^{4} \times 6 \times 10^{-4} \times 0.5
W = 6 \, J
Therefore, the work done in rotating the magnet is 6 \, J.
Thus, the correct answer is 6 J.