summaryrefslogtreecommitdiff
path: root/1172/CH3/EX3.22
diff options
context:
space:
mode:
Diffstat (limited to '1172/CH3/EX3.22')
-rwxr-xr-x1172/CH3/EX3.22/3_22.txt16
-rwxr-xr-x1172/CH3/EX3.22/Example3_22.sce24
2 files changed, 40 insertions, 0 deletions
diff --git a/1172/CH3/EX3.22/3_22.txt b/1172/CH3/EX3.22/3_22.txt
new file mode 100755
index 000000000..6fd3570a2
--- /dev/null
+++ b/1172/CH3/EX3.22/3_22.txt
@@ -0,0 +1,16 @@
+ # Problem 22 #
+
+ Standard formula Used
+ E= h^2 * (n_x^2+n_y^2+n_z^2) / (8*m*L^2)Warning : redefining function: sum . Use funcprot(0) to avoid this message
+
+
+
+ E111 is 112.190934 eV.
+
+ E112 is 224.381868 eV.
+
+ E211 is 224.381868 eV.
+
+ E212 is 336.572802 eV.
+
+ E311 is 411.366758 eV.
diff --git a/1172/CH3/EX3.22/Example3_22.sce b/1172/CH3/EX3.22/Example3_22.sce
new file mode 100755
index 000000000..e9c7d0f74
--- /dev/null
+++ b/1172/CH3/EX3.22/Example3_22.sce
@@ -0,0 +1,24 @@
+clc
+//Given that
+h = 6.6e-34 // plank's constant
+m_e = 9.1e-31 // mass of electron in kg
+L = 1e-10 // length of box of particle in m
+//Sample Problem 22 page No. 146
+printf("\n # Problem 22 # \n")
+printf("\n Standard formula Used \n E= h^2 * (n_x^2+n_y^2+n_z^2) / (8*m*L^2)")
+sum = 0
+n_y = 1
+ for n_x = 1:3
+
+ for n_z = 1:2
+ sum = n_x+n_y+n_z
+ if sum<6 then
+ E = h^2 * (n_x^2+n_y^2+n_z^2)/ (1.6e-19*8*m_e*L^2) // calculation of energy
+ printf("\n \n E%d%d%d is %f eV. ",n_x,n_y,n_z,E)
+ end
+
+
+
+ end
+ end
+