blob: e66d708c96510748c8496fa5a4e3ddea86e12957 (
plain)
1
2
3
4
5
6
7
8
9
|
//chapter 6 example 4//
clc
clear
//energy gap=Eg,cut off wavelength=lc,plancks constant=h,speed of light=c//
h=6.62*(10^-34);
c=3*(10^8);//in mts/sec//
Eg=1.43*1.6*(10^-19);
lc=((h*c)/Eg)*(10^6);
printf("\n cut off wavelength=%f micro meterc\n",lc)
|