diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1736/CH4/EX4.23.10/Ch04Ex23_10a.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1736/CH4/EX4.23.10/Ch04Ex23_10a.sce')
-rwxr-xr-x | 1736/CH4/EX4.23.10/Ch04Ex23_10a.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1736/CH4/EX4.23.10/Ch04Ex23_10a.sce b/1736/CH4/EX4.23.10/Ch04Ex23_10a.sce new file mode 100755 index 000000000..4ac96d675 --- /dev/null +++ b/1736/CH4/EX4.23.10/Ch04Ex23_10a.sce @@ -0,0 +1,21 @@ +// Scilab Code Ex4.10a: Page-141 (2006)
+clc; clear;
+E_F = 1; // For simplicity assume Fermi energy to be unity, eV
+k = 1.38e-023; // Boltzmann constant, J/mol/K
+e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
+dE = 0.5; // Exces energy above Fermi level, eV
+T = 300; // Room temperature, K
+E = E_F + dE; // Energy of the level above Fermi level, eV
+f_E = 1/(exp((E-E_F)*e/(k*T))+1); // Occupation probability of the electron at 0.1 eV above E_F
+printf("\nAt 300 K:");
+printf("\n=========");
+printf("\nThe occupation probability of electron at %3.1f eV above Fermi energy = %11.9f", dE, f_E);
+E = E_F - dE; // Energy of the level below Fermi level, eV
+f_E = 1/(exp((E-E_F)*e/(k*T))+1); // Occupation probability of the electron at 0.1 eV below E_F
+printf("\nThe occupation probability of electron at %3.1f eV below Fermi energy = %11.9f", dE, f_E);
+
+// Result
+// At 300 K:
+// =========
+// The occupation probability of electron at 0.5 eV above Fermi energy = 0.000000004
+// The occupation probability of electron at 0.5 eV below Fermi energy = 0.999999996
|