summaryrefslogtreecommitdiff
path: root/377/CH5/EX5.1/5_1.sce
blob: 3a329d4e3a2471a232b96b169dbdb1dd7716f8b4 (plain)
1
2
3
4
5
6
7
8
9
10
disp("nd/(n+nd) = 1/[((Nc/(2*Nd))*exp(-(Ec-Ef)/(K*T))+1]");
Nc=2.8*10^19;
Nd1=1*10^16;
Nd2=1*10^18;
b=0.045;  //say (Ec-Ef)=b
c=0.026;  //sat K*T=c
a=1/(((Nc/(2*Nd1))*exp((-b)/(c))+1));
printf('\n The value of (nd/(n+nd)) for (10^16) is %f',a);
d=1/(((Nc/(2*Nd2))*exp((-b)/(c))+1));
printf('\n The value of (nd/(n+nd)) for (10^18) is %f',d);