summaryrefslogtreecommitdiff
path: root/2288/CH3/EX3.21.3/ex3_21_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2288/CH3/EX3.21.3/ex3_21_3.sce')
-rwxr-xr-x2288/CH3/EX3.21.3/ex3_21_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2288/CH3/EX3.21.3/ex3_21_3.sce b/2288/CH3/EX3.21.3/ex3_21_3.sce
new file mode 100755
index 000000000..94611607d
--- /dev/null
+++ b/2288/CH3/EX3.21.3/ex3_21_3.sce
@@ -0,0 +1,12 @@
+// Exa 3.21.3
+clc;
+clear;
+close;
+// Given data
+n_i = 1.5 * 10 ^10;// in /cm^3 for silicon
+N_d = 10^17;// in atoms/cm^3
+n_o = 10^17;// electrons/cm^3
+KT = 0.0259;
+// E_r - E_i = KT * log(n_o/n_i)
+del_E = KT * log(n_o/n_i);// in eV
+disp("The energy band for this type material is Ei + "+string(del_E)+" eV");