Complete Question
(A) Find the excitation energy from the ground level to the third excited level for an electron confined to a box that has a width of 0.125 nm .
(B) The electron makes a transition from the n=1 to n= 4 level by absorbing a photon. Calculate the wavelength of this photon.
Answer:
A

B

Explanation:
Considering question a
From the question we are told that
The width of the box is 
Generally the energy level of a particle confined to a box is mathematically represented as

Generally the excitation energy is mathematically represented as
![\Delta E = \frac{h^2 }{ 8 m L^2 } [n_2^2 - n_1 ^2 ]](https://tex.z-dn.net/?f=%5CDelta%20%20E%20%3D%20%20%5Cfrac%7Bh%5E2%20%7D%7B%208%20m%20L%5E2%20%7D%20%20%5Bn_2%5E2%20-%20n_1%20%5E2%20%20%5D)
From the question
Here h is the Planck's constant with a value of 
m is the mass of electron with value 
So
![\Delta E = \frac{[6.62607015 * 10^{-34} ]^2 }{ 8 * (9.11 *10^{-31}) (0.125 *10^{-9})^2 } [3^2 - 1^2 ]](https://tex.z-dn.net/?f=%5CDelta%20%20E%20%3D%20%20%5Cfrac%7B%5B6.62607015%20%2A%2010%5E%7B-34%7D%20%5D%5E2%20%7D%7B%208%20%2A%20%289.11%20%2A10%5E%7B-31%7D%29%20%280.125%20%2A10%5E%7B-9%7D%29%5E2%20%7D%20%20%5B3%5E2%20-%201%5E2%20%20%5D)
=> 
=> 
=> 
Considering question b
Generally the energy level of a particle confined to a box is mathematically represented as

Generally the excitation energy is mathematically represented as
![\Delta E = \frac{h^2 }{ 8 m L^2 } [n_2^2 - n_1 ^2 ]](https://tex.z-dn.net/?f=%5CDelta%20%20E%20%3D%20%20%5Cfrac%7Bh%5E2%20%7D%7B%208%20m%20L%5E2%20%7D%20%20%5Bn_2%5E2%20-%20n_1%20%5E2%20%20%5D)
From the question 
Here h is the Planck's constant with a value of 
m is the mass of electron with value 
So
![\Delta E = \frac{[6.62607015 * 10^{-34} ]^2 }{ 8 * (9.11 *10^{-31}) (0.125 *10^{-9})^2 } [4^2 - 1^2 ]](https://tex.z-dn.net/?f=%5CDelta%20%20E%20%3D%20%20%5Cfrac%7B%5B6.62607015%20%2A%2010%5E%7B-34%7D%20%5D%5E2%20%7D%7B%208%20%2A%20%289.11%20%2A10%5E%7B-31%7D%29%20%280.125%20%2A10%5E%7B-9%7D%29%5E2%20%7D%20%20%5B4%5E2%20-%201%5E2%20%20%5D)
=> 
=>
=>
Gnerally the wavelength is mathematically represented as

=> 
=> 