summaryrefslogtreecommitdiff
path: root/3014/CH2/EX2.27
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH2/EX2.27
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/EX2.27')
-rwxr-xr-x3014/CH2/EX2.27/Ex2_27.sce16
-rwxr-xr-x3014/CH2/EX2.27/Ex2_27.txt4
2 files changed, 20 insertions, 0 deletions
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.