summaryrefslogtreecommitdiff
path: root/3557/CH17/EX17.5/Ex17_5.sce
blob: 6b6350a43b6a6ec6d02f04e31ceeea5e360357ad (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 17.5//

a=1.107;//eV //band gap
b=2;//eV //given
c=0.1;//eV //Fermi level shifted upward
E=(a/b)-c
mprintf("E = %f eV",E)
k=86.2*10^-6;//eV k^-1//Boltazmann constant
T=298;//K //Temperature
fE=1/((%e^(E/(k*T)))+1)
mprintf("\nfE = %e ",fE)