summaryrefslogtreecommitdiff
path: root/3014/CH2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH2
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 '3014/CH2')
-rwxr-xr-x3014/CH2/EX2.1/Ex2_1.sce9
-rwxr-xr-x3014/CH2/EX2.1/Ex2_1.txt2
-rwxr-xr-x3014/CH2/EX2.10/Ex2_10.sce15
-rwxr-xr-x3014/CH2/EX2.10/Ex2_10.txt4
-rwxr-xr-x3014/CH2/EX2.11/Ex2_11.sce10
-rwxr-xr-x3014/CH2/EX2.11/Ex2_11.txt3
-rwxr-xr-x3014/CH2/EX2.12/Ex2_12.sce15
-rwxr-xr-x3014/CH2/EX2.12/Ex2_12.txt3
-rwxr-xr-x3014/CH2/EX2.13/Ex2_13.sce11
-rwxr-xr-x3014/CH2/EX2.13/Ex2_13.txt3
-rwxr-xr-x3014/CH2/EX2.15/Ex2_15.sce15
-rwxr-xr-x3014/CH2/EX2.15/Ex2_15.txt4
-rwxr-xr-x3014/CH2/EX2.16/Ex2_16.sce15
-rwxr-xr-x3014/CH2/EX2.16/Ex2_16.txt4
-rwxr-xr-x3014/CH2/EX2.17/Ex2_17.sce11
-rwxr-xr-x3014/CH2/EX2.17/Ex2_17.txt3
-rwxr-xr-x3014/CH2/EX2.18/Ex2_18.sce12
-rwxr-xr-x3014/CH2/EX2.18/Ex2_18.txt3
-rwxr-xr-x3014/CH2/EX2.19/Ex2_19.sce9
-rwxr-xr-x3014/CH2/EX2.19/Ex2_19.txt4
-rwxr-xr-x3014/CH2/EX2.2/Ex2_2.sce11
-rwxr-xr-x3014/CH2/EX2.2/Ex2_2.txt3
-rwxr-xr-x3014/CH2/EX2.20/Ex2_20.sce11
-rwxr-xr-x3014/CH2/EX2.20/Ex2_20.txt4
-rwxr-xr-x3014/CH2/EX2.21/Ex2_21.sce14
-rwxr-xr-x3014/CH2/EX2.21/Ex2_21.txt6
-rwxr-xr-x3014/CH2/EX2.24/Ex2_24.sce13
-rwxr-xr-x3014/CH2/EX2.24/Ex2_24.txt4
-rwxr-xr-x3014/CH2/EX2.26/Ex2_26.sce11
-rwxr-xr-x3014/CH2/EX2.26/Ex2_26.txt4
-rwxr-xr-x3014/CH2/EX2.27/Ex2_27.sce16
-rwxr-xr-x3014/CH2/EX2.27/Ex2_27.txt4
-rwxr-xr-x3014/CH2/EX2.28/Ex2_28.sce13
-rwxr-xr-x3014/CH2/EX2.28/Ex2_28.txt6
-rwxr-xr-x3014/CH2/EX2.29/Ex2_29.sce12
-rwxr-xr-x3014/CH2/EX2.29/Ex2_29.txt6
-rwxr-xr-x3014/CH2/EX2.3/Ex2_3.sce14
-rwxr-xr-x3014/CH2/EX2.3/Ex2_3.txt3
-rwxr-xr-x3014/CH2/EX2.30/Ex2_30.sce13
-rwxr-xr-x3014/CH2/EX2.30/Ex2_30.txt3
-rwxr-xr-x3014/CH2/EX2.5/Ex2_5.sce14
-rwxr-xr-x3014/CH2/EX2.5/Ex2_5.txt3
-rwxr-xr-x3014/CH2/EX2.6/Ex2_6.sce13
-rwxr-xr-x3014/CH2/EX2.6/Ex2_6.txt3
-rwxr-xr-x3014/CH2/EX2.7/Ex2_7.sce10
-rwxr-xr-x3014/CH2/EX2.7/Ex2_7.txt3
-rwxr-xr-x3014/CH2/EX2.8/Ex2_8.sce13
-rwxr-xr-x3014/CH2/EX2.8/Ex2_8.txt4
-rwxr-xr-x3014/CH2/EX2.9/Ex2_9.sce13
-rwxr-xr-x3014/CH2/EX2.9/Ex2_9.txt3
50 files changed, 405 insertions, 0 deletions
diff --git a/3014/CH2/EX2.1/Ex2_1.sce b/3014/CH2/EX2.1/Ex2_1.sce
new file mode 100755
index 000000000..e6a294d73
--- /dev/null
+++ b/3014/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,9 @@
+ clc
+//given that
+del_x = 0.2 // Uncertainty in position in angstrom
+h = 6.63e-34 // Plank constant
+
+printf("Example 2.1")
+h_bar = h / (2*%pi) // constant
+del_p = h_bar/(2*del_x*1e-10) // Calculation of uncertainty in momentum
+printf("\n Uncertainty in momentum of particle is %e kgm/sec \n\n\n",del_p)
diff --git a/3014/CH2/EX2.1/Ex2_1.txt b/3014/CH2/EX2.1/Ex2_1.txt
new file mode 100755
index 000000000..ba18b7e14
--- /dev/null
+++ b/3014/CH2/EX2.1/Ex2_1.txt
@@ -0,0 +1,2 @@
+ Example 2.1
+ Uncertainty in momentum of particle is 2.637993e-24 kgm/sec. \ No newline at end of file
diff --git a/3014/CH2/EX2.10/Ex2_10.sce b/3014/CH2/EX2.10/Ex2_10.sce
new file mode 100755
index 000000000..3cf24dcc9
--- /dev/null
+++ b/3014/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,15 @@
+clc
+
+//given that
+r = 0.53 // radius of hydrogen atom in angstrom
+m_e = 9.1e-31 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+printf("Example 2.10")
+h_bar = h / (2*%pi) // constant
+del_x = 2*r // calculation of uncertainty in position
+del_p = h_bar/(2*del_x*1e-10) // calculation of uncertainty in momentum
+p = del_p
+E = p^2/(2*m_e*1.6e-19)// Calculation of energy in eV
+printf("\n Kinetic energy needed by an electron to be \n confined in electron is %f eV.\n\n\n",E)
+// When problem is solved by del_x*del_p = h_bar, then minimum value of kinetic energy will become 13.6eV
+
diff --git a/3014/CH2/EX2.10/Ex2_10.txt b/3014/CH2/EX2.10/Ex2_10.txt
new file mode 100755
index 000000000..8a1fb3267
--- /dev/null
+++ b/3014/CH2/EX2.10/Ex2_10.txt
@@ -0,0 +1,4 @@
+
+Example 2.10
+ Kinetic energy needed by an electron to be
+ confined in electron is 0.850754 eV.
diff --git a/3014/CH2/EX2.11/Ex2_11.sce b/3014/CH2/EX2.11/Ex2_11.sce
new file mode 100755
index 000000000..633fdfe1b
--- /dev/null
+++ b/3014/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,10 @@
+clc
+
+//given that
+del_t = 2.5e-14 // lifetime in exited state in micro sec
+h = 6.63e-34 // Plank constant
+printf("Example 2.11")
+h_bar = h / (2*%pi) // constant
+del_E = h_bar/(1.6e-19*del_t*1e-6) // calculation of uncertainty in momentum
+printf("\n Minimum error in measurement of energy of this state is %e eV.\n\n\n",del_E)
+
diff --git a/3014/CH2/EX2.11/Ex2_11.txt b/3014/CH2/EX2.11/Ex2_11.txt
new file mode 100755
index 000000000..6a0d2541b
--- /dev/null
+++ b/3014/CH2/EX2.11/Ex2_11.txt
@@ -0,0 +1,3 @@
+
+Example 2.11
+ Minimum error in measurement of energy of this state is 2.637993e+04 eV.
diff --git a/3014/CH2/EX2.12/Ex2_12.sce b/3014/CH2/EX2.12/Ex2_12.sce
new file mode 100755
index 000000000..7b9aa959e
--- /dev/null
+++ b/3014/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,15 @@
+clc
+
+//given that
+E_eV = 0.5// kinetic energy of electron in KeV
+del_x = 0.4 // Uncertainty in position in nm
+h = 6.63e-34 // Plank constant
+m = 9.1e-31 // mass of electron in kg
+printf("Example 2.12")
+h_bar = h / (2*%pi) // constant
+E_J = E_eV*1e3*1.6e-19
+p = sqrt(2*m*E_J) // Calculation of momentum in kgm/s
+del_p = h_bar/(2*del_x*1e-9) // Calculation of uncertainty in momentum
+per_error = del_p*100 / p // calculation of percentage error in momentum
+printf("\n Percentage error in momentum is %f percent.\n\n\n",per_error)
+// Answer in book is 1.08 percentage
diff --git a/3014/CH2/EX2.12/Ex2_12.txt b/3014/CH2/EX2.12/Ex2_12.txt
new file mode 100755
index 000000000..5168c739a
--- /dev/null
+++ b/3014/CH2/EX2.12/Ex2_12.txt
@@ -0,0 +1,3 @@
+
+Example 2.12
+ Percentage error in momentum is 1.093108 percent. \ No newline at end of file
diff --git a/3014/CH2/EX2.13/Ex2_13.sce b/3014/CH2/EX2.13/Ex2_13.sce
new file mode 100755
index 000000000..e7e5df6d9
--- /dev/null
+++ b/3014/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,11 @@
+clc
+
+//given that
+del_x = 2e-9 // Uncertainty in position in m
+h = 6.63e-34 // Plank constant
+m = 9.1e-31 // mass of electron in Kg
+printf("Example 2.13")
+h_bar = h / (2*%pi) // constant
+del_p = h_bar/(2*del_x) // Calculation of uncertainty in momentum
+del_v = del_p/m
+printf("\n Uncertainty in velocity of particle is %e m/s.\n\n\n",del_v)
diff --git a/3014/CH2/EX2.13/Ex2_13.txt b/3014/CH2/EX2.13/Ex2_13.txt
new file mode 100755
index 000000000..2f12c1e89
--- /dev/null
+++ b/3014/CH2/EX2.13/Ex2_13.txt
@@ -0,0 +1,3 @@
+
+Example 2.13
+ Uncertainty in velocity of particle is 2.898894e+04 m/s. \ No newline at end of file
diff --git a/3014/CH2/EX2.15/Ex2_15.sce b/3014/CH2/EX2.15/Ex2_15.sce
new file mode 100755
index 000000000..ce8c8d299
--- /dev/null
+++ b/3014/CH2/EX2.15/Ex2_15.sce
@@ -0,0 +1,15 @@
+clc
+
+//given that
+del_x = 5000 // Uncertainty in position in angstrom
+h = 6.63e-34 // Plank constant
+m = 200 // mass of ball in gram
+v = 6 // velocity of moving ball in m/s
+printf("Example 2.15")
+h_bar = h / (2*%pi) // constant
+del_p = h_bar/(2*del_x*1e-10) // Calculation of uncertainty in momentum
+p = m*v/1000 // Calculation of momentum
+per_error = del_p*100/p // Calculation of percentage error in calculation of momentum
+printf("\n Uncertainty in momentum of ball is %e kgm/s.",del_p)
+printf("\n Percentage error in calculation of momentum is %e.\n\n\n",per_error)
+
diff --git a/3014/CH2/EX2.15/Ex2_15.txt b/3014/CH2/EX2.15/Ex2_15.txt
new file mode 100755
index 000000000..a0a2d5693
--- /dev/null
+++ b/3014/CH2/EX2.15/Ex2_15.txt
@@ -0,0 +1,4 @@
+
+Example 2.15
+ Uncertainty in momentum of ball is 1.055197e-28 kgm/s.
+ Percentage error in calculation of momentum is 8.793311e-27.
diff --git a/3014/CH2/EX2.16/Ex2_16.sce b/3014/CH2/EX2.16/Ex2_16.sce
new file mode 100755
index 000000000..2c7e4a73e
--- /dev/null
+++ b/3014/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,15 @@
+clc
+
+//given that
+c = 3e8 // speed of light in m/s
+v = c/10 // Velocity of moving proton in m/s
+v_error = 1 // Percentage error in measurement of velocity
+m = 1.67e-27 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+
+printf("Example 2.16")
+h_bar = h / (2*%pi) // constant
+del_v = v*v_error/100// calculation of uncertainty in position
+del_x = h_bar/(2*m*del_v) // calculation of uncertainty in momentum
+printf("\n Uncertainty in position of particle is %e m.\n\n\n",del_x)
+// Answer in book is 1.04e-13 m
diff --git a/3014/CH2/EX2.16/Ex2_16.txt b/3014/CH2/EX2.16/Ex2_16.txt
new file mode 100755
index 000000000..e0b7aecbb
--- /dev/null
+++ b/3014/CH2/EX2.16/Ex2_16.txt
@@ -0,0 +1,4 @@
+
+
+Example 2.16
+ Uncertainty in position of particle is 1.053091e-13 m.
diff --git a/3014/CH2/EX2.17/Ex2_17.sce b/3014/CH2/EX2.17/Ex2_17.sce
new file mode 100755
index 000000000..3fa55fa59
--- /dev/null
+++ b/3014/CH2/EX2.17/Ex2_17.sce
@@ -0,0 +1,11 @@
+clc
+
+//given that
+del_x = 1e-9 // Uncertainty in position in m
+h = 6.63e-34 // Plank constant
+m = 200 // mass of ball in gram
+printf("Example 2.17")
+h_bar = h / (2*%pi) // constant
+del_v = h_bar/(2*del_x*m/1000) // Calculation of uncertainty in momentum
+printf("\n Uncertainty in velocity of ball is %e m/s.\n\n\n",del_v)
+// Answer in book is 2.64e-25 m/s
diff --git a/3014/CH2/EX2.17/Ex2_17.txt b/3014/CH2/EX2.17/Ex2_17.txt
new file mode 100755
index 000000000..81919635e
--- /dev/null
+++ b/3014/CH2/EX2.17/Ex2_17.txt
@@ -0,0 +1,3 @@
+
+Example 2.17
+ Uncertainty in velocity of ball is 2.637993e-25 m/s.
diff --git a/3014/CH2/EX2.18/Ex2_18.sce b/3014/CH2/EX2.18/Ex2_18.sce
new file mode 100755
index 000000000..a8a499c0d
--- /dev/null
+++ b/3014/CH2/EX2.18/Ex2_18.sce
@@ -0,0 +1,12 @@
+clc
+//given that
+del_t = 2e-12 // lifetime of exited state in sec
+h = 6.63e-34 // Plank constant
+printf("Example 2.18")
+h_bar = h / (2*%pi) // constant
+del_E = h_bar/(1.6e-19*2*del_t) // calculation of uncertainty in momentum
+printf("\n Minimum error in measurement of energy of this state is %e eV.\n\n\n",del_E)
+// Answer in book is 1.65e-4 eV
+
+
+
diff --git a/3014/CH2/EX2.18/Ex2_18.txt b/3014/CH2/EX2.18/Ex2_18.txt
new file mode 100755
index 000000000..5f8e25a3f
--- /dev/null
+++ b/3014/CH2/EX2.18/Ex2_18.txt
@@ -0,0 +1,3 @@
+
+Example 2.18
+ Minimum error in measurement of energy of this state is 1.648746e-04 eV.
diff --git a/3014/CH2/EX2.19/Ex2_19.sce b/3014/CH2/EX2.19/Ex2_19.sce
new file mode 100755
index 000000000..f7fa6c4cc
--- /dev/null
+++ b/3014/CH2/EX2.19/Ex2_19.sce
@@ -0,0 +1,9 @@
+clc
+//given that
+del_t = 1e-8 // lifetime of exited state in sec
+h = 6.63e-34 // Plank constant
+printf("Example 2.19")
+h_bar = h / (2*%pi) // constant
+del_nu = h_bar/(2*del_t*h) // calculation of uncertainty in frequency
+printf("\n Minimum error in measurement of \n frequency of photon is %e per second.\n\n\n",del_nu)
+// Answer in book is 8e6 per second
diff --git a/3014/CH2/EX2.19/Ex2_19.txt b/3014/CH2/EX2.19/Ex2_19.txt
new file mode 100755
index 000000000..c9a8f72ef
--- /dev/null
+++ b/3014/CH2/EX2.19/Ex2_19.txt
@@ -0,0 +1,4 @@
+
+Example 2.19
+ Minimum error in measurement of
+ frequency of photon is 7.957747e+06 per second.
diff --git a/3014/CH2/EX2.2/Ex2_2.sce b/3014/CH2/EX2.2/Ex2_2.sce
new file mode 100755
index 000000000..fc9241b1b
--- /dev/null
+++ b/3014/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,11 @@
+
+clc
+//given that
+del_x = 4e-10 // Uncertainty in position in m
+h = 6.63e-34 // Plank constant
+
+printf("Example 2.2")
+h_bar = h / (2*%pi) // constant
+del_p = h_bar/(2*del_x) // Calculation of uncertainty in momentum
+printf("\n Uncertainty in momentum of particle is %e kgm/sec.\n\n\n",del_p)
+// Answer in book is given as 1.32e-23 kgm/sec
diff --git a/3014/CH2/EX2.2/Ex2_2.txt b/3014/CH2/EX2.2/Ex2_2.txt
new file mode 100755
index 000000000..dba81e11b
--- /dev/null
+++ b/3014/CH2/EX2.2/Ex2_2.txt
@@ -0,0 +1,3 @@
+
+Example 2.2
+ Uncertainty in momentum of particle is 1.318997e-25 kgm/sec. \ No newline at end of file
diff --git a/3014/CH2/EX2.20/Ex2_20.sce b/3014/CH2/EX2.20/Ex2_20.sce
new file mode 100755
index 000000000..ef85f594b
--- /dev/null
+++ b/3014/CH2/EX2.20/Ex2_20.sce
@@ -0,0 +1,11 @@
+clc
+//given that
+del_v = 5.5e-20 // Uncertainty in velocity in m/s
+h = 6.63e-34 // Plank constant
+m = 1 // mass of dust particle in mg
+printf("Example 2.20")
+h_bar = h / (2*%pi) // constant
+del_x = h_bar/(2*del_v*m*1e-6) // Calculation of uncertainty in momentum
+printf("\n Uncertainty in position of ball is %f angstrom.\n\n\n",del_x*1e10)
+// Answer in book is 9.6 angstrom
+
diff --git a/3014/CH2/EX2.20/Ex2_20.txt b/3014/CH2/EX2.20/Ex2_20.txt
new file mode 100755
index 000000000..ef76d8497
--- /dev/null
+++ b/3014/CH2/EX2.20/Ex2_20.txt
@@ -0,0 +1,4 @@
+
+
+Example 2.20
+ Uncertainty in position of ball is 9.592702 angstrom.
diff --git a/3014/CH2/EX2.21/Ex2_21.sce b/3014/CH2/EX2.21/Ex2_21.sce
new file mode 100755
index 000000000..6a4ef10f9
--- /dev/null
+++ b/3014/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,14 @@
+clc
+
+
+//given that
+l = 1 // width of potential well in angstrom
+n = 1 // order corresponding to ground state
+h = 6.63e-34 // Plank constant
+m = 9.1e-31 // mass of electron in Kg
+printf("Example 2.21")
+E = n^2*h^2/(8*m*(l*1e-10)^2) // Calculation of energy in Joule
+E_eV = E/1.6e-19 // Calculation of energy in eV
+
+printf("\n Energy of electron is %f eV.\n\n\n",E_eV)
+// Answer in book is 37.74 eV angstrom
diff --git a/3014/CH2/EX2.21/Ex2_21.txt b/3014/CH2/EX2.21/Ex2_21.txt
new file mode 100755
index 000000000..932aff438
--- /dev/null
+++ b/3014/CH2/EX2.21/Ex2_21.txt
@@ -0,0 +1,6 @@
+
+
+
+Example 2.21
+ Energy of electron is 37.737723 eV.
+
diff --git a/3014/CH2/EX2.24/Ex2_24.sce b/3014/CH2/EX2.24/Ex2_24.sce
new file mode 100755
index 000000000..3cc4f425a
--- /dev/null
+++ b/3014/CH2/EX2.24/Ex2_24.sce
@@ -0,0 +1,13 @@
+clc
+
+//given that
+l = 2.5e-10 // width of potential well in m
+h = 6.63e-34 // Plank constant
+m = 9.1e-31 // mass of electron in Kg
+printf("Example 2.24")
+for n = 1:2
+ E = n^2*h^2/(8*m*l^2) // Calculation of energy in Joule
+E_eV = E/1.6e-19 // Calculation of energy in eV
+
+printf("\n Energy of electron for state %d is %f eV.",n,E_eV);
+end
diff --git a/3014/CH2/EX2.24/Ex2_24.txt b/3014/CH2/EX2.24/Ex2_24.txt
new file mode 100755
index 000000000..f9b6ee4c7
--- /dev/null
+++ b/3014/CH2/EX2.24/Ex2_24.txt
@@ -0,0 +1,4 @@
+
+Example 2.24
+ Energy of electron for state 1 is 6.038036 eV.
+ Energy of electron for state 2 is 24.152143 eV. \ No newline at end of file
diff --git a/3014/CH2/EX2.26/Ex2_26.sce b/3014/CH2/EX2.26/Ex2_26.sce
new file mode 100755
index 000000000..9fff3fadf
--- /dev/null
+++ b/3014/CH2/EX2.26/Ex2_26.sce
@@ -0,0 +1,11 @@
+clc
+// given that
+L = 1// let unit length
+l1 = 0.45*L // initial point
+l2 = 0.55*L // Final point
+
+
+printf("Example 2.26 \n")
+p = (1/L)*((l2-(L/(2*%pi) *sin(2*l2*%pi/L)))- (l1-(L/(2*%pi) *sin(2*l1*%pi/L)))) // Calculation of probability of finding particle
+p_per = p*100 // probability of finding particle in percentage
+printf("\n Probability of finding electron between \n %fL and %fL is %f percent.",l2,l1,p_per)
diff --git a/3014/CH2/EX2.26/Ex2_26.txt b/3014/CH2/EX2.26/Ex2_26.txt
new file mode 100755
index 000000000..c37c26fec
--- /dev/null
+++ b/3014/CH2/EX2.26/Ex2_26.txt
@@ -0,0 +1,4 @@
+Example 2.26
+
+ Probability of finding electron between
+ 0.550000L and 0.450000L is 19.836316 percent. \ No newline at end of file
diff --git a/3014/CH2/EX2.27/Ex2_27.sce b/3014/CH2/EX2.27/Ex2_27.sce
new file mode 100755
index 000000000..0f562e720
--- /dev/null
+++ b/3014/CH2/EX2.27/Ex2_27.sce
@@ -0,0 +1,16 @@
+clc
+
+
+//given that
+l = 1e-8 // width of potential well in cm
+h = 6.63e-34 // Plank constant
+m = 9.1e-31 // mass of electron in Kg
+printf("\nExample 2.27")
+E_1 = (h)^2/(8*m*(l*1e-2)^2) // Calculation of energy of ground state in Joule
+E_1_eV = E_1/1.6e-19 // Calculation of energy in eV
+E_2 = (2)^2*h^2/(8*m*(l*1e-2)^2) // Calculation of energy of first state in Joule
+E_2_eV = E_2/1.6e-19 // Calculation of energy in eV
+del_E = E_2_eV - E_1_eV // calculation of difference between first state and ground state
+printf("\n Difference between first state \n and ground state energies is %f eV.\n\n\n",del_E);
+// Answer in book is 113.04 eV
+
diff --git a/3014/CH2/EX2.27/Ex2_27.txt b/3014/CH2/EX2.27/Ex2_27.txt
new file mode 100755
index 000000000..883aa5c59
--- /dev/null
+++ b/3014/CH2/EX2.27/Ex2_27.txt
@@ -0,0 +1,4 @@
+
+Example 2.27
+ Difference between first state
+ and ground state energies is 113.213170 eV.
diff --git a/3014/CH2/EX2.28/Ex2_28.sce b/3014/CH2/EX2.28/Ex2_28.sce
new file mode 100755
index 000000000..bb8cb9c91
--- /dev/null
+++ b/3014/CH2/EX2.28/Ex2_28.sce
@@ -0,0 +1,13 @@
+clc
+
+//given that
+l = 1 // width of potential well in angstrom
+h = 6.63e-34 // Plank constant
+m = 9.1e-31 // mass of electron in Kg
+printf("Example 2.28")
+for n = 1:3
+ lambda = 2*l/n // Calculation of wavelength
+ E = n^2*h^2/(8*m*(l*1e-10)^2) // Calculation of energy in Joule
+E_eV = E/1.6e-19 // Calculation of energy in eV
+printf("\n For state:%d Energy is %f eV & wavelength is %f angstrom ",n,E_eV,lambda);
+end
diff --git a/3014/CH2/EX2.28/Ex2_28.txt b/3014/CH2/EX2.28/Ex2_28.txt
new file mode 100755
index 000000000..de22674c0
--- /dev/null
+++ b/3014/CH2/EX2.28/Ex2_28.txt
@@ -0,0 +1,6 @@
+
+
+Example 2.28
+ For state:1 Energy is 37.737723 eV & wavelength is 2.000000 angstrom
+ For state:2 Energy is 150.950893 eV & wavelength is 1.000000 angstrom
+ For state:3 Energy is 339.639509 eV & wavelength is 0.666667 angstrom \ No newline at end of file
diff --git a/3014/CH2/EX2.29/Ex2_29.sce b/3014/CH2/EX2.29/Ex2_29.sce
new file mode 100755
index 000000000..15b6f45a8
--- /dev/null
+++ b/3014/CH2/EX2.29/Ex2_29.sce
@@ -0,0 +1,12 @@
+clc
+
+//given that
+m = 100 //mass of ball in gram
+l = 1 // length of box in m
+h = 6.63e-34 // Plank constant
+printf("\nExample 2.29")
+for n = 1:3
+ E = (n^2*h^2)/(8*m*1e-3*l^2*1.6e-19)
+ printf("\n Energy state E%d of ball is %e eV",n,E)
+end
+printf("\n As energy difference is very small so we cannot see energy states.\n")
diff --git a/3014/CH2/EX2.29/Ex2_29.txt b/3014/CH2/EX2.29/Ex2_29.txt
new file mode 100755
index 000000000..4ddda5ec8
--- /dev/null
+++ b/3014/CH2/EX2.29/Ex2_29.txt
@@ -0,0 +1,6 @@
+
+Example 2.29
+ Energy state E1 of ball is 3.434133e-48 eV
+ Energy state E2 of ball is 1.373653e-47 eV
+ Energy state E3 of ball is 3.090720e-47 eV
+ As energy difference is very small so we cannot see energy states.
diff --git a/3014/CH2/EX2.3/Ex2_3.sce b/3014/CH2/EX2.3/Ex2_3.sce
new file mode 100755
index 000000000..2afc4914a
--- /dev/null
+++ b/3014/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,14 @@
+clc
+
+//given that
+v = 3e7 // Velocity of moving electron in m/s
+m = 9.1e-31 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+c = 3e8 // speed of light in m/s
+printf("Example 2.3")
+h_bar = h / (2*%pi) // constant
+del_p = m*v/(sqrt(1-(v/c)^2)) // calculation of uncertainty in momentum
+del_x = h_bar/(2*del_p) // Calculation of uncertainty in position
+printf("\n Uncertainty in position of particle is %f angstrom.\n\n\n",del_x*1e10)
+//Answer in book is 0.0194 angstrom which is due to using approximate values at intermediate steps
+
diff --git a/3014/CH2/EX2.3/Ex2_3.txt b/3014/CH2/EX2.3/Ex2_3.txt
new file mode 100755
index 000000000..600c1ab98
--- /dev/null
+++ b/3014/CH2/EX2.3/Ex2_3.txt
@@ -0,0 +1,3 @@
+
+Example 2.3
+ Uncertainty in position of particle is 0.019229 angstrom.
diff --git a/3014/CH2/EX2.30/Ex2_30.sce b/3014/CH2/EX2.30/Ex2_30.sce
new file mode 100755
index 000000000..154543a6d
--- /dev/null
+++ b/3014/CH2/EX2.30/Ex2_30.sce
@@ -0,0 +1,13 @@
+clc
+
+//given that
+l = 30 // width of potential well in angstrom
+x = l/2
+del_x = 2 // interval of length at centre in angstrom
+h = 6.63e-34 // Plank constant
+n = 1 // ground state
+printf("\nExample 2.30")
+phi_x = ((sqrt(2/l))*sin(n*%pi*x/l))^2
+p = phi_x*del_x // Calculation of probability at centre
+printf("\n Probability of finding particle at centre is %d percent.\n\n\n",p*100)
+// Answer given in book is 16 percent. It is due to wrong calculation
diff --git a/3014/CH2/EX2.30/Ex2_30.txt b/3014/CH2/EX2.30/Ex2_30.txt
new file mode 100755
index 000000000..25a24c29a
--- /dev/null
+++ b/3014/CH2/EX2.30/Ex2_30.txt
@@ -0,0 +1,3 @@
+
+Example 2.30
+ Probability of finding particle at centre is 13 percent.
diff --git a/3014/CH2/EX2.5/Ex2_5.sce b/3014/CH2/EX2.5/Ex2_5.sce
new file mode 100755
index 000000000..aeae45abe
--- /dev/null
+++ b/3014/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,14 @@
+clc
+//given that
+v = 1.05e4 // Velocity of moving electron in m/s
+v_error = 0.02 //Percentage error in measurement of velocity
+
+m = 9e-31 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+printf("Example 2.5")
+h_bar = h / (2*%pi) // constant
+p = m*v
+del_p = v_error*p/100 // calculation of uncertainty in momentum
+del_x = h_bar/del_p
+printf("\n Uncertainty in position of particle is %e m.\n\n\n",del_x)
+// Answer in book is given as 5.58e-3 m
diff --git a/3014/CH2/EX2.5/Ex2_5.txt b/3014/CH2/EX2.5/Ex2_5.txt
new file mode 100755
index 000000000..57c3dff07
--- /dev/null
+++ b/3014/CH2/EX2.5/Ex2_5.txt
@@ -0,0 +1,3 @@
+
+Example 2.5
+ Uncertainty in position of particle is 1.922908e-12 m. \ No newline at end of file
diff --git a/3014/CH2/EX2.6/Ex2_6.sce b/3014/CH2/EX2.6/Ex2_6.sce
new file mode 100755
index 000000000..aeceb712a
--- /dev/null
+++ b/3014/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,13 @@
+clc
+//given that
+v = 600 // Velocity of moving electron in m/s
+v_error = 0.005 //Percentage error in measurement of velocity
+m = 9.1e-31 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+printf("Example 2.6")
+h_bar = h / (2*%pi) // constant
+p = m*v
+del_p = v_error*p/100 // calculation of uncertainty in momentum
+del_x = h_bar/(del_p) // Calculation of uncertainty in position
+printf("\n Uncertainty in position of particle is %e m.\n\n\n",del_x)
+// Answer in book is 0.39e-2 m
diff --git a/3014/CH2/EX2.6/Ex2_6.txt b/3014/CH2/EX2.6/Ex2_6.txt
new file mode 100755
index 000000000..51aaf1205
--- /dev/null
+++ b/3014/CH2/EX2.6/Ex2_6.txt
@@ -0,0 +1,3 @@
+
+Example 2.6
+ Uncertainty in position of particle is 3.865191e-03 m. \ No newline at end of file
diff --git a/3014/CH2/EX2.7/Ex2_7.sce b/3014/CH2/EX2.7/Ex2_7.sce
new file mode 100755
index 000000000..269df61e0
--- /dev/null
+++ b/3014/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,10 @@
+clc
+//given that
+del_x = 1 // let uncertainty in position is unity
+m_e = 9.1e-31 // mass of electron in kg
+m_p = 1.67e-27 // mass of proton in kg
+h = 6.63e-34 // Plank constant
+printf("Example 2.7")
+h_bar = h / (2*%pi) // constant
+del_v_ratio = m_p/m_e // calculation in uncertainties in the velocity of electron and proton
+printf("\n Ratio of uncertainties in the velocity of electron to proton is %d.\n\n\n",del_v_ratio)
diff --git a/3014/CH2/EX2.7/Ex2_7.txt b/3014/CH2/EX2.7/Ex2_7.txt
new file mode 100755
index 000000000..75c3fb7a4
--- /dev/null
+++ b/3014/CH2/EX2.7/Ex2_7.txt
@@ -0,0 +1,3 @@
+
+Example 2.7
+ Ratio of uncertainties in the velocity of electron to proton is 1835.
diff --git a/3014/CH2/EX2.8/Ex2_8.sce b/3014/CH2/EX2.8/Ex2_8.sce
new file mode 100755
index 000000000..d42f02a64
--- /dev/null
+++ b/3014/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,13 @@
+clc
+//given that
+r = 0.5 // radius of hydrogen atom in angstrom
+m_e = 9.1e-31 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+printf("Example 2.8")
+h_bar = h / (2*%pi) // constant
+del_x = 2*r // calculation of uncertainty in position
+del_p = h_bar/(2*del_x*1e-10) // calculation of uncertainty in momentum
+p = del_p
+E = p^2/(2*m_e*1.6e-19)// Calculation of energy in eV
+printf("\n Kinetic energy needed by an electron to be \n confined in electron is %f eV.\n\n\n",ceil(E*100)/100)
+
diff --git a/3014/CH2/EX2.8/Ex2_8.txt b/3014/CH2/EX2.8/Ex2_8.txt
new file mode 100755
index 000000000..c66325d48
--- /dev/null
+++ b/3014/CH2/EX2.8/Ex2_8.txt
@@ -0,0 +1,4 @@
+
+Example 2.8
+ Kinetic energy needed by an electron to be
+ confined in electron is 0.955908 eV.
diff --git a/3014/CH2/EX2.9/Ex2_9.sce b/3014/CH2/EX2.9/Ex2_9.sce
new file mode 100755
index 000000000..7bed2b03a
--- /dev/null
+++ b/3014/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,13 @@
+clc
+//given that
+v = 5e3 // Velocity of moving electron in m/s
+v_error = 0.003 //Percentage error in measurement of velocity
+
+m = 9.1e-31 // mass of electron in kg
+h = 6.63e-34 // Plank constant
+printf("Example 2.9")
+h_bar = h / (2*%pi) // constant
+p = m*v
+del_p = v_error*p/100 // calculation of uncertainty in momentum
+del_x = h_bar/(2*del_p) // Calculation of uncertainty in position
+printf("\n Uncertainty in position of particle is %e m.\n\n\n",del_x)
diff --git a/3014/CH2/EX2.9/Ex2_9.txt b/3014/CH2/EX2.9/Ex2_9.txt
new file mode 100755
index 000000000..5b94a08ae
--- /dev/null
+++ b/3014/CH2/EX2.9/Ex2_9.txt
@@ -0,0 +1,3 @@
+
+Example 2.9
+ Uncertainty in position of particle is 3.865191e-04 m.