summaryrefslogtreecommitdiff
path: root/2411/CH6/EX6.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2411/CH6/EX6.12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2411/CH6/EX6.12')
-rwxr-xr-x2411/CH6/EX6.12/Ex6_12.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2411/CH6/EX6.12/Ex6_12.sce b/2411/CH6/EX6.12/Ex6_12.sce
new file mode 100755
index 000000000..fd15014d4
--- /dev/null
+++ b/2411/CH6/EX6.12/Ex6_12.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex6.12: Page-351 (2008)
+clc; clear;
+h = 6.6e-034; // Planck's constant, Js
+m = 9.1e-031; // Mass of an electron, kg
+e = 1.6e-019; // Energy equivalent of 1 eV, J
+E_F0 = 5.48; // Fermi energy of silver at 0 K, eV
+N_bar = (8*m/h^2)^(3/2)*%pi/3*(E_F0*e)^(3/2); // Number density of conduction electrons in silver at 0 K, per cc
+printf("\nThe number density of conduction electrons in silver at 0 K = %3.1e per cc", N_bar*1e-006);
+
+// Result
+// The number density of conduction electrons in silver at 0 K = 5.9e+022 per cc \ No newline at end of file