summaryrefslogtreecommitdiff
path: root/284/CH3/EX3.14/ex_14.sce
blob: 65309f0b0ce6ce47f871af8ae96924877dee3e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Chapter 3_The Semiconductor in Equilibrium
//Caption_Position of Fermi Energy level
//Ex_14//page 121
T=300   //temperature in kelvin
kT=0.0259
ni=1.5*(10^10)  //intrinsic carrier concentration
Efa=3*kT    //Ef-Ea=3kT
Eav=0.045
Efif=Eg/2-(Eav)-(Efa)    //The position of fermi level at the maximum doping
Na=exp(Efif/kT)*ni
printf('Maximum doping is %fd per cm cube',Na)