In ground state, the potential energy of a hydrogen atom is zero.
An electron is bound to the nucleus with an energy of 13.6 eV.
Therefore, we have to give 13.6 eV energy to move the electron from the nucleus.
Let us calculate the excitation energy required to take an atom from the ground state (n = 1) to the first excited state (n = 2).
Therefore, the excitation energy is given by
Energy of 10.2 eV is needed to take an atom from the ground state to the first excited state.
∴ Total energy of an atom in the first excitation state = 13.6 eV + 10.2 eV = 23.8 eV