1 2 3 4 5 6
disp("λ=c*h/Eg"); h=6.626*10^-34; c=2.998*10^8; E=1.43*1.6*10^-19; d=c*h/E; printf('\nThe value of λ is %fμm',d*10^6);