//Ex1_6 clc; //Given: wavelength=1.5*10^-10; h=6.62*10^-34; c=3*10^8; //solution: e=(h*c)/wavelength;// energy in J e1=e/(1.6*10^-19);// energy in eV printf("The energy in eV is = %f ",e1)