blob: b15d48ced1c599d1b434295158fe3ef7954b31d4 (
plain)
1
2
3
4
5
|
printf('K(ph)=2*pi/λph\n=ħ*ω/ħ*ν\n=Eg/ħ*ν'); //k-vector of a photon
Eg=(1.5)*(1.6)*(10^-19);
b=(1.05)*(10^-26); //say (ħ*ν)=b
a=(Eg)/(b);
printf('\nthe k-vector of photon for GaAs will be %f',a);
|