summaryrefslogtreecommitdiff
path: root/377/CH13/EX13.4/13_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH13/EX13.4/13_4.sce')
-rw-r--r--377/CH13/EX13.4/13_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/377/CH13/EX13.4/13_4.sce b/377/CH13/EX13.4/13_4.sce
new file mode 100644
index 000000000..bd2aee3b6
--- /dev/null
+++ b/377/CH13/EX13.4/13_4.sce
@@ -0,0 +1,12 @@
+ns=2*10^12;
+E1=(1.11*10^-19)*((ns)^(2/3));
+E2=(1.95*10^-19)*((ns)^(2/3));
+printf('\n The value of E1 is %feV',E1*10^10);
+printf('\n The value of E2 is %feV',E2*10^10);
+Ef=0.24418;
+nE=2.79*10^13;
+a=0.026; //say a=K*T/q
+ns1=nE*a*log(1+exp((Ef-(E1*10^10))/a));
+ns2=nE*a*log(1+exp((Ef-(E2*10^10))/a));
+printf('\n The value of ns1 is %f*10^12',ns1*10^-12);
+printf('\n The value of ns2 is %f*10^12',ns2*10^-12); \ No newline at end of file