The magnetic field exerts a torque on the magnetic moment,:formula_1where formula_2 is the torque, formula_3 is the magnetic dipole moment, formula_4 is the angular momentum vector, formula_5 is the external magnetic field, formula_6 symbolizes the cross product, and formula_7 is the gyromagnetic ratio which gives the proportionality constant between the magnetic moment and the angular momentum.