Using the formula for change in energy,
[tex]\Delta E=2.18\times10^{-18}(\frac{1}{n^2_1}-\frac{1}{n^2_2})[/tex]where n1 and n2 are 4 and 2 respectively.
Let's calculate the change in energy when this electron makes this transition.
[tex]\begin{gathered} \Delta E=2.18\times10^{-18}(\frac{1}{4^2}-\frac{1}{2^2}) \\ \Delta E=-4.0875\times10^{19}J \end{gathered}[/tex]This negative value in the energy indicates that the electron jumps from a higher energy level to a lower energy level as a result of loss of energy.
From this, we can calculate the wavelength of the electron using the combination of Einstein's equation and Heisenberg's equation
[tex]E=\frac{hc}{\lambda}[/tex]Where h = Plank's constant
c = speed of light
substitute the values into the equation and solve for the wavelength
[tex]\begin{gathered} E=\frac{hc}{\lambda} \\ \lambda=\frac{hc}{E} \\ \lambda=\frac{6.626\times10^{-34}\times3.0\times10^8}{4.0875\times10^{-19}} \\ \lambda=4.86\times10^{-7}m \\ \lambda=486nm \end{gathered}[/tex]From the calculations above, the wavelength of the electron is 486nm