summaryrefslogtreecommitdiff
path: root/2444/CH1/EX1.1
diff options
context:
space:
mode:
Diffstat (limited to '2444/CH1/EX1.1')
-rwxr-xr-x2444/CH1/EX1.1/ex1_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2444/CH1/EX1.1/ex1_1.sce b/2444/CH1/EX1.1/ex1_1.sce
new file mode 100755
index 000000000..18b12b3b4
--- /dev/null
+++ b/2444/CH1/EX1.1/ex1_1.sce
@@ -0,0 +1,13 @@
+// Exa 1.1
+clc;
+clear;
+close;
+format('v',9);
+// Given data
+E_G = 0.72;// in eV
+E_F = (1/2)*E_G;// in eV
+k = 8.61*10^-5;// in eV/K
+T = 300;// in K
+// The fraction of the total number of electrons
+n_C_by_n = 1/( 1 + (%e^((E_G-E_F)/(k*T))) );
+disp(n_C_by_n,"The fraction of the total number of electrons is");