blob: ef1fc4d263601d11481f49c94c51bcb1a4668b3c (
plain)
1
2
3
4
5
6
7
8
|
//Example 16.8//
h=0.663*10^-33;//J s //Planck's constant
c=3.00*10^9;//m/s //speed of light
Eg=2.59;//eV //energy gap for CdS
a=(6.242*10^18);//eV/J //1 Coulomb of charge
l=((h*c)/Eg)*a
mprintf("l = %e m",l)
mprintf(" = 479nm (As 1 nano = 10^-9)")
|