blob: d46a96749e9d118e3296cb828f867f3ed88d7c82 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 17.3//
T1=293;//K //Temperature
T2=373;//K //Temperature
k=86.2*10^-6;//eV/K //Boltzmann constant
T3=1100;//ohm^-1 m^-1 //conductivity
T4=250;//ohm^-1 m^-1 //conductivity
Eg=-(2*k*(log(T3/T4)))/((1/T2)-(1/T1))
mprintf("Eg = %f eV",Eg)
|