summaryrefslogtreecommitdiff
path: root/1580/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1580/CH5
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 '1580/CH5')
-rwxr-xr-x1580/CH5/EX5.1/Ch05Ex1.sce12
-rwxr-xr-x1580/CH5/EX5.10/Ch05Ex10.sce11
-rwxr-xr-x1580/CH5/EX5.11/Ch05Ex11.sce22
-rwxr-xr-x1580/CH5/EX5.12/Ch05Ex12.sce15
-rwxr-xr-x1580/CH5/EX5.13/Ch05Ex13.sce8
-rwxr-xr-x1580/CH5/EX5.14/Ch05Ex14.sce13
-rwxr-xr-x1580/CH5/EX5.2/Ch05Ex2.sce9
-rwxr-xr-x1580/CH5/EX5.3/Ch05Ex3.sce11
-rwxr-xr-x1580/CH5/EX5.4/Ch05Ex4.sce11
-rwxr-xr-x1580/CH5/EX5.5/Ch05Ex5.sce12
-rwxr-xr-x1580/CH5/EX5.6/Ch05Ex6.sce14
-rwxr-xr-x1580/CH5/EX5.7/Ch05Ex7.sce15
-rwxr-xr-x1580/CH5/EX5.8/Ch05Ex8.sce15
-rwxr-xr-x1580/CH5/EX5.9/Ch05Ex9.sce11
14 files changed, 179 insertions, 0 deletions
diff --git a/1580/CH5/EX5.1/Ch05Ex1.sce b/1580/CH5/EX5.1/Ch05Ex1.sce
new file mode 100755
index 000000000..bc2d413af
--- /dev/null
+++ b/1580/CH5/EX5.1/Ch05Ex1.sce
@@ -0,0 +1,12 @@
+// Scilab Code Ex5.1 : Page-5.7 (2004)
+clc;clear;
+h = 6.626e-34; // Planck's const in Js
+m = 1.67e-27; // Mass of the proton in kg
+c = 3e+8; // Charge of electron in C
+v = c/10; // Proton velocity 1/10th of c
+E = 0.025; // Kinetic energy of the neutron in J
+lam = h/(m*v); // de Broglie wavelength in m
+printf("\nde Broglie wavelength = %5.3e m", lam);
+
+// Result
+// de Broglie wavelength = 1.323e-14 m
diff --git a/1580/CH5/EX5.10/Ch05Ex10.sce b/1580/CH5/EX5.10/Ch05Ex10.sce
new file mode 100755
index 000000000..af84f2257
--- /dev/null
+++ b/1580/CH5/EX5.10/Ch05Ex10.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex 5.10 : Page-5.24 (2004)
+clc;clear;
+h = 6.626e-34; // Planck's const, Js
+m = 9.1e-31; // Mass of electron, kg
+L = 4e-10; // Side of the box, m
+n1 = 1; // nx box lowest quantum number
+E = (h^2)/(8*m*(L^2))*((n1)^2); //Lowest Energy level for electron confinement , in eV
+printf("\nMinimum Energy = %2.3e joule", E);
+
+// Results
+// Minimum Energy = 3.769e-19 joule
diff --git a/1580/CH5/EX5.11/Ch05Ex11.sce b/1580/CH5/EX5.11/Ch05Ex11.sce
new file mode 100755
index 000000000..01b4f13ee
--- /dev/null
+++ b/1580/CH5/EX5.11/Ch05Ex11.sce
@@ -0,0 +1,22 @@
+// Scilab Code Ex 5.11 : Page-5.24 (2004)
+clc;clear;
+h = 6.626e-34; // Planck's const, Js
+m = 9.1e-31; // Mass of electron in kg
+L = 1e-10; // Side of the box in m
+n1 = 1; // Ground state quantum number
+n2 = 2; // first quantum number
+n3 = 3; // second quantum number
+e = 1.6e-19; // charge on electron, C
+E1 = (h^2)/(8*m*(L^2))*((n1)^2); //Ground state Energy , joule
+E2 = (h^2)/(8*m*(L^2))*((n2)^2); //first state Energy , joule
+E3 = (h^2)/(8*m*(L^2))*((n3)^2); //second state Energy , joule
+
+printf("\nGround state Energy = %2.3e joule", E1);
+printf("\nFirst state Energy = %2.3e joule", E2);
+printf("\nSecond state Energy = %2.3e joule", E3);
+
+
+// Results
+// Ground state Energy = 6.031e-18 joule
+// First state Energy = 2.412e-17 joule
+// Second state Energy = 5.428e-17 joule
diff --git a/1580/CH5/EX5.12/Ch05Ex12.sce b/1580/CH5/EX5.12/Ch05Ex12.sce
new file mode 100755
index 000000000..1d4c2b1e9
--- /dev/null
+++ b/1580/CH5/EX5.12/Ch05Ex12.sce
@@ -0,0 +1,15 @@
+// Scilab Code Ex5.12 : Page-5.25 (2004)
+clc;clear;
+h = 6.626e-34; // Planck's const in Js
+m = 9.1e-31; // Mass of the electron in kg
+lam = 1.66e-10; // de Broglie wavelength, m
+e = 1.6e-19; // Charge on electron, C
+v = h/(m*lam); // Velocity of electron, m/s
+E = (m*v^2)/(2*e); // Kinetic energy of the electron in eV
+
+printf("\nVelocity of electron = %d km/s", v/1000);
+printf("\nKinetic energy of the electron = %5.2f eV", E);
+
+// Result
+// Velocity of electron = 4386 km/s
+// Kinetic energy of the electron = 54.71 eV
diff --git a/1580/CH5/EX5.13/Ch05Ex13.sce b/1580/CH5/EX5.13/Ch05Ex13.sce
new file mode 100755
index 000000000..d58d52db9
--- /dev/null
+++ b/1580/CH5/EX5.13/Ch05Ex13.sce
@@ -0,0 +1,8 @@
+// Scilab Code Ex5.13 : Page-5.25 (2004)
+clc;clear;
+V = 15000; // Accelerating potential, volts
+lam = 12.26/sqrt(V); // de Broglie wavelength, angstrom
+printf("\nde Broglie wavelength of electron wave = %5.1f angstrom", lam);
+
+// Result
+// de Broglie wavelength of electron wave = 0.1 angstrom
diff --git a/1580/CH5/EX5.14/Ch05Ex14.sce b/1580/CH5/EX5.14/Ch05Ex14.sce
new file mode 100755
index 000000000..7ea47e566
--- /dev/null
+++ b/1580/CH5/EX5.14/Ch05Ex14.sce
@@ -0,0 +1,13 @@
+// Scilab Code Ex5.14 : Page-5.26 (2004)
+clc;clear;
+h = 6.62e-34 // Planck's const, Js
+delx = 1e-8 // Uncertainity in position, m
+m = 9.1e-31; // Mass of electron, kg
+delv = h/(m*delx); // Uncertainty in velocity, km/s
+
+printf("\nUncertainty in velocity = %3.2f km/sec", delv/1000);
+
+//Results
+// Uncertainty in velocity = 72.75 km/sec
+
+
diff --git a/1580/CH5/EX5.2/Ch05Ex2.sce b/1580/CH5/EX5.2/Ch05Ex2.sce
new file mode 100755
index 000000000..18640cf62
--- /dev/null
+++ b/1580/CH5/EX5.2/Ch05Ex2.sce
@@ -0,0 +1,9 @@
+// Scilab Code Ex5.2 : de Broglie wavelength of electron: Page-5.8 (2004)
+clc;clear;
+V = 400; // Accelerating potential, volts
+lam = 12.26/sqrt(V); // de Broglie wavelength, angstrom
+printf("\nde Broglie wavelength = %5.3f angstrom", lam);
+
+// Result
+// de Broglie wavelength = 0.613 angstrom
+
diff --git a/1580/CH5/EX5.3/Ch05Ex3.sce b/1580/CH5/EX5.3/Ch05Ex3.sce
new file mode 100755
index 000000000..beafa4400
--- /dev/null
+++ b/1580/CH5/EX5.3/Ch05Ex3.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex5.3 : Page-5.8 (2004)
+clc;clear;
+h = 6.626e-34; // Planck's const in Js
+m = 1.67e-27; // Mass of the neutron in kg
+e = 1.6e-19; // charge of electron in C
+E = 0.025; // kinetic energy of the neutron in J
+lam = h/(sqrt(2*m*E*e)); // de Broglie wavelength in m
+printf("\nde Broglie wavelength = %5.3f nm", lam/1e-9);
+
+// Result
+// de Broglie wavelength = 0.181 nm
diff --git a/1580/CH5/EX5.4/Ch05Ex4.sce b/1580/CH5/EX5.4/Ch05Ex4.sce
new file mode 100755
index 000000000..308f4fe33
--- /dev/null
+++ b/1580/CH5/EX5.4/Ch05Ex4.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex5.4 : Uncertainty in momentum of electron: Page-5.13 (2004)
+clc;clear;
+h = 6.62e-34 // Planck's const, Js
+delx = 4e-10 // Uncertainty in position, m
+delp = h/(delx); // Uncertainity principle
+
+printf("\nUncertainty in momentum = %5.3e kg m/sec", delp);
+
+//Results
+// Uncertainty in momentum = 1.655000e-24 kg m/sec
+
diff --git a/1580/CH5/EX5.5/Ch05Ex5.sce b/1580/CH5/EX5.5/Ch05Ex5.sce
new file mode 100755
index 000000000..7761f3d43
--- /dev/null
+++ b/1580/CH5/EX5.5/Ch05Ex5.sce
@@ -0,0 +1,12 @@
+// Scilab Code Ex5.5 : Page-5.13 (2004)
+clc;clear;
+h = 6.62e-34; // Planck's const, Js
+me = 9.1e-31; //Mass of electron, kg
+delx = 1e-9; // Uncertainty in position, m
+delp = h/(delx); // Uncertainty principle
+delv = (delp/me); // Uncertainty in velocity, m/sec
+
+printf ("\nUncertainty in velocity = %4.2e m/sec", delv)
+
+// Result
+// Uncertainty in velocity=7.2747e+05 m/sec
diff --git a/1580/CH5/EX5.6/Ch05Ex6.sce b/1580/CH5/EX5.6/Ch05Ex6.sce
new file mode 100755
index 000000000..d6bfeacde
--- /dev/null
+++ b/1580/CH5/EX5.6/Ch05Ex6.sce
@@ -0,0 +1,14 @@
+// Scilab Code Ex 5.6 : Uncertainty in time : Page-5.13 (2004)
+clc;clear;
+h = 6.62e-34; // planck's const, Js
+n1 = 1; // first state
+n2 = 2; // second state
+En = (-13.6/n2^2)+(13.6/n1); //Energy for transition, in eV
+e = 1.6e-19; // Charge of electron , C
+E2 = e*En; // Energy for transition, J
+delE = E2/100; // Uncertainty in position, m
+delt = h/(delE); // Uncertainty principle
+printf("\nUncertainty in time = %1.3e sec", delt);
+
+// Results
+// Uncertainity in time = 4.056e-14 sec
diff --git a/1580/CH5/EX5.7/Ch05Ex7.sce b/1580/CH5/EX5.7/Ch05Ex7.sce
new file mode 100755
index 000000000..9b50b5b33
--- /dev/null
+++ b/1580/CH5/EX5.7/Ch05Ex7.sce
@@ -0,0 +1,15 @@
+// Scilab Code Ex 5.7 : Lowest Energy for electron confinement: Page-5.22 (2004)
+clc;clear;
+h = 6.62e-34; // Planck's const, Js
+m = 9.1e-31; // Mass of electron in kg
+L = 0.1e-9; // Side of the box in m
+n1 = 1; // nx box lowest quantum number
+n2 = 1; // ny box lowest quantum number
+n3 = 1; // nz box lowest quantum number
+e = 1.6e-19; // Charge on electron in C
+E = (h^2)/(8*e*m*L^2)*((n1)^2+(n2)^2+(n3)^2); //Lowest Energy for electron confinement , in eV
+printf("\nLowest Energy for electron confinement = %5.1f eV", E);
+
+
+// Results
+// Lowest Energy for electron confinement = 112.9 eV
diff --git a/1580/CH5/EX5.8/Ch05Ex8.sce b/1580/CH5/EX5.8/Ch05Ex8.sce
new file mode 100755
index 000000000..d98a9168c
--- /dev/null
+++ b/1580/CH5/EX5.8/Ch05Ex8.sce
@@ -0,0 +1,15 @@
+// Scilab Code Ex 5.8 : Page-5.22 (2004)
+clc;clear;
+h = 6.62e-34; // Planck's constant, Js
+m = 9.1e-31; // Mass of electron, kg
+L = 0.1e-9; // Side of the box, m
+n1 = 1; // nx box lowest quantum number
+n2 = 1; // ny box lowest quantum number
+n3 = 2; // nz box lowest quantum number
+e = 1.6e-19; // Charge on electron, C
+E = (h^2)/(8*e*m*L^2)*((n1)^2+(n2)^2+(n3)^2); //Lowest Energy level for electron confinement , in eV
+
+printf("\nLowest Energy level for electron confinement = %6.2f eV", E);
+
+// Result
+// Lowest Energy level for electron confinement = 225.74 eV
diff --git a/1580/CH5/EX5.9/Ch05Ex9.sce b/1580/CH5/EX5.9/Ch05Ex9.sce
new file mode 100755
index 000000000..63d4de303
--- /dev/null
+++ b/1580/CH5/EX5.9/Ch05Ex9.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex5.9 : Page-5.23 (2004)
+clc;clear;
+h = 6.626e-34; // Planck's const in Js
+m = 9.1e-31; // Mass of the neutron in kg
+e = 1.6e-19; // Charge of electron in C
+E = 2000; // Kinetic energy of the neutron in eV
+lam = h/(sqrt(2*m*E*e)); // de Broglie wavelength in m
+printf("\nde Broglie wavelength of electron = %6.4f nm", lam/1e-9);
+
+// Result
+// de Broglie wavelength of electron = 0.0275 nm