What is the length of a one-dimensional box in which an electron in the n=1 state has the same energy as a photon with a wavelength of 500 nm
E=h^2/8mL^2 and E=hc/lambda
L=sqrt( (h*lambda)/(8cm) )
The Attempt at a Solution
I plugged in for those numbers and did not come out with the correct number. any suggestions?