For a hydrogen atom in a magnetic field, the magnetic moment is given by $\mu = -g \mu_B m_s$, where $g$ is the Landé g-factor, $\mu_B$ is the Bohr magneton, and $m_s$ is the spin quantum number. Therefore, the energy of a hydrogen atom in a magnetic field is
Show more…