1 2 3 4 5 6 7 8 9 10 11 12 13
clear // // // //Variable declaration lamda=1.55 //wavelength(micro m) //Calculation Eg=1.24/lamda //band gap(eV) //Result printf("\n band gap is %0.3f eV",Eg)