According to Bohr's atomic theory, whenever an electron jumps from one orbit to another, there is always an emission or absorption energy in terms of emission or absorption of photons.
The formula to calculate the energy (ΔE) of the emitted or absorbed photon when an electron jumps from a state with quantum number n1 to another with quantum number n2 is given by
ΔE=−RchZ2[ni21−nf21]....................(1)
where, R is Rydberg's constant, h is Planck's constant, c is the speed of light and Z is the atomic number.
Substitute the values of the given parameters into equation (1) to calculate the required energy.
ΔE===−13.6×(4)2[421−221]eV−13.6×16×[161−41]eV40.8eV