If the atom is in the excited state, it may decay into the lower state by the process of spontaneous emission, releasing the difference in energies between the two states as a photon. The photon will have frequency ν 0 and energy hν 0, given by: E 2 − − E 1 = h ν ν 0 where h is the Planck constant.