summaryrefslogtreecommitdiff
path: root/1736/CH4/EX4.3/Ch04Ex3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1736/CH4/EX4.3/Ch04Ex3.sce')
-rwxr-xr-x1736/CH4/EX4.3/Ch04Ex3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1736/CH4/EX4.3/Ch04Ex3.sce b/1736/CH4/EX4.3/Ch04Ex3.sce
new file mode 100755
index 000000000..58745dead
--- /dev/null
+++ b/1736/CH4/EX4.3/Ch04Ex3.sce
@@ -0,0 +1,17 @@
+// Scilab Code Ex4.3: Page-112 (2006)
+clc; clear;
+m = 9.1e-031; // Mass of an electron, kg
+e = 1.6e-019; // Charge on an electron, C
+r = 1.28e-010; // Atomic radius of cupper, m
+a = 4*r/sqrt(2); // Lattice parameter of fcc structure of Cu, m
+V = a^3; // Volume of unit cell of Cu, metre cube
+n = 4/V; // Number of atoms per unit volume of Cu, per metre cube
+tau = 2.7e-04; // Relaxation time for an electron in monovalent Cu, s
+sigma = n*e^2*tau/m; // Electrical conductivity of Cu, mho per cm
+printf("\nThe free electron density in monovalent Cu = %5.3e per metre cube", n);
+printf("\nThe electrical conductivity of monovalent Cu = %5.3e mho per cm", sigma);
+
+// Result
+// The free electron density in monovalent Cu = 8.429e+028 per metre cube
+// The electrical conductivity of monovalent Cu = 6.403e+017 mho per cm
+