summaryrefslogtreecommitdiff
path: root/377/CH5/EX5.1/5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH5/EX5.1/5_1.sce')
-rw-r--r--377/CH5/EX5.1/5_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/377/CH5/EX5.1/5_1.sce b/377/CH5/EX5.1/5_1.sce
new file mode 100644
index 000000000..3a329d4e3
--- /dev/null
+++ b/377/CH5/EX5.1/5_1.sce
@@ -0,0 +1,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); \ No newline at end of file