summaryrefslogtreecommitdiff
path: root/3159/CH14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3159/CH14
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 '3159/CH14')
-rwxr-xr-x3159/CH14/EX14.1/Ex14_1.sce14
-rwxr-xr-x3159/CH14/EX14.1/Ex14_1.txt3
-rwxr-xr-x3159/CH14/EX14.2/Ex14_2.sce11
-rwxr-xr-x3159/CH14/EX14.2/Ex14_2.txt3
-rwxr-xr-x3159/CH14/EX14.3/Ex14_3.sce9
-rwxr-xr-x3159/CH14/EX14.3/Ex14_3.txt3
6 files changed, 43 insertions, 0 deletions
diff --git a/3159/CH14/EX14.1/Ex14_1.sce b/3159/CH14/EX14.1/Ex14_1.sce
new file mode 100755
index 000000000..12bec7916
--- /dev/null
+++ b/3159/CH14/EX14.1/Ex14_1.sce
@@ -0,0 +1,14 @@
+// Calculate energy difference
+clc
+n_x1 = 1 // atomic level
+n_y1 = 1// atomic level
+n_z1 = 1// atomic level
+n_x2 = 2// atomic level
+L = 10 // lattice parameter in mm
+h = 6.626e-34 // plank constant
+m_e = 9.109e-31 // mass of electron in kg
+printf("\n Example 14.1")
+E1 = h^2*(n_x1^2+n_y1^2+n_z1^2)/(8*m_e*(L*1e-3)^2)
+E2 = h^2*(n_x2^2+n_y1^2+n_z1^2)/(8*m_e*(L*1e-3)^2)
+E = E2-E1 // energy difference
+printf("\n Energy difference is %.2e J ",E)
diff --git a/3159/CH14/EX14.1/Ex14_1.txt b/3159/CH14/EX14.1/Ex14_1.txt
new file mode 100755
index 000000000..cf19699f2
--- /dev/null
+++ b/3159/CH14/EX14.1/Ex14_1.txt
@@ -0,0 +1,3 @@
+
+ Example 14.1
+ Energy difference is 1.81e-33 J \ No newline at end of file
diff --git a/3159/CH14/EX14.2/Ex14_2.sce b/3159/CH14/EX14.2/Ex14_2.sce
new file mode 100755
index 000000000..96d0dbb94
--- /dev/null
+++ b/3159/CH14/EX14.2/Ex14_2.sce
@@ -0,0 +1,11 @@
+// Calculate conductivity of copper at 300 K
+clc
+tau = 2e-14 // collision time of electron in s
+e = 1.602e-19 // charge on electron
+m_e = 9.1e-31 // mass of electron in kg
+
+printf("\n Example 14.2")
+n = 6.023e23*8960/0.06354
+
+sigma= n*e^2*tau/m_e
+printf("\n Conductivity of copper at 300 K is %.1e ohm^-1 m^-1 ",sigma)
diff --git a/3159/CH14/EX14.2/Ex14_2.txt b/3159/CH14/EX14.2/Ex14_2.txt
new file mode 100755
index 000000000..801f80529
--- /dev/null
+++ b/3159/CH14/EX14.2/Ex14_2.txt
@@ -0,0 +1,3 @@
+
+ Example 14.2
+ Conductivity of copper at 300 K is 4.8e+07 ohm^-1 m^-1 \ No newline at end of file
diff --git a/3159/CH14/EX14.3/Ex14_3.sce b/3159/CH14/EX14.3/Ex14_3.sce
new file mode 100755
index 000000000..008f50a21
--- /dev/null
+++ b/3159/CH14/EX14.3/Ex14_3.sce
@@ -0,0 +1,9 @@
+// Estimation of resistivity due to impurity scattering of 1% of Nickel in copper lattice
+clc
+r_cu = 1.8e-8 // resistivity of pure copper in ohm-m
+r_Ni_cu = 7e-8 //resistivity of copper 4% Ni in ohm-m
+per1 = 4//impurity in percent
+per2 = 1 // impurity in percent
+printf("\n Example 14.3")
+r = (r_Ni_cu-r_cu)*per2/per1 // resistivity of copper 1% Ni in ohm-m
+printf("\n Resistivity due to impurity scattering of 1 %% of Nickel in copper lattice is %.1e ohm-m",r)
diff --git a/3159/CH14/EX14.3/Ex14_3.txt b/3159/CH14/EX14.3/Ex14_3.txt
new file mode 100755
index 000000000..5c33e593c
--- /dev/null
+++ b/3159/CH14/EX14.3/Ex14_3.txt
@@ -0,0 +1,3 @@
+
+ Example 14.3
+ Resistivity due to impurity scattering of 1 % of Nickel in copper lattice is 1.3e-08 ohm-m \ No newline at end of file