summaryrefslogtreecommitdiff
path: root/3020/CH18/EX18.11/ex18_11.sce
blob: be9ac5cd62975330c0f6e4cf45684ff92c552969 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear all;
Eg=1.12;//bandgap in eV
mo=9.1e-31;//mass of electron
me=0.12*mo;//effective mass of electron
mh=0.28*mo;//effective mass of hole
k=1.38e-23;//boltzman constant
T=300;//temperature in K
Ef=(Eg/2)+(3*k*T/4)*log(mh/me);//fermi level at 300K
disp('eV',Ef,'fermi level at 300K is:')