In Bohr's atom, energy is absorbed or radiated when an electron makes a transition between two stationary states. If f is the frequency of emitted radiation and E1 and E2 are the energies of electron in two states, then practically which is correct for a hydrogen like atom for the transition as shown in the figure.