8 \times 10^{-3} \mathrm{~J}$. The potential energy in a magnetic field is given by $- \vec{p} \cdot \vec{B}$, where $\vec{p}$ is the magnetic dipole moment and $\vec{B}$ is the magnetic field. We can use the principle of conservation of energy, which states that
Show more…