clc lambda=0.708*10^-8// cm h=6.625*10^-34// J*s Plank's constant c=3*10^10// cm/s e=1.6*10^-19// eV E=h*c/lambda// E=hv=hc/lambda disp(E,"the value of E in J is") E=E/e disp(E,"the value of E in eV is")