Using the formula for change in energy,
![\Delta E=2.18*10^(-18)((1)/(n^2_1)-(1)/(n^2_2))](https://img.qammunity.org/2023/formulas/chemistry/college/4urzs7baz36znsfmv9t21ghr0jzejsfbex.png)
where n1 and n2 are 4 and 2 respectively.
Let's calculate the change in energy when this electron makes this transition.
![\begin{gathered} \Delta E=2.18*10^(-18)((1)/(4^2)-(1)/(2^2)) \\ \Delta E=-4.0875*10^(19)J \end{gathered}](https://img.qammunity.org/2023/formulas/chemistry/college/hl52enzxgwnjvu6sf1tbqmzgpkkiz41u3y.png)
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
![E=(hc)/(\lambda)](https://img.qammunity.org/2023/formulas/physics/college/y3rbzo5xgdjo41c5etwqti3olnkh26gytl.png)
Where h = Plank's constant
c = speed of light
substitute the values into the equation and solve for the wavelength
![\begin{gathered} E=(hc)/(\lambda) \\ \lambda=(hc)/(E) \\ \lambda=(6.626*10^(-34)*3.0*10^8)/(4.0875*10^(-19)) \\ \lambda=4.86*10^(-7)m \\ \lambda=486nm \end{gathered}](https://img.qammunity.org/2023/formulas/chemistry/college/9v2j9ciqb4m9ovcscn3w74f68u5zpmwwno.png)
From the calculations above, the wavelength of the electron is 486nm