'''Magnetic energy''' and [[electric energy]] are related by [[Maxwell's equations]]. The potential energy of a [[magnet]] of [[magnetic moment]] '''m''' in a [[magnetic field]] '''B''' is defined as the [[mechanical work|work]] of magnetic force (actually of magnetic [[torque]]) on re-alignment of the vector of the magnetic dipole moment, and is equal: |
'''Magnetic energy''' and [[electric energy]] are related by [[Maxwell's equations]]. The potential energy of a [[magnet]] of [[magnetic moment]] '''m''' in a [[magnetic field]] '''B''' is defined as the [[mechanical work|work]] of magnetic force (actually of magnetic [[torque]]) on re-alignment of the vector of the magnetic dipole moment, and is equal: |