summaryrefslogtreecommitdiff
path: root/3014/CH2/EX2.30
diff options
context:
space:
mode:
Diffstat (limited to '3014/CH2/EX2.30')
-rwxr-xr-x3014/CH2/EX2.30/Ex2_30.sce13
-rwxr-xr-x3014/CH2/EX2.30/Ex2_30.txt3
2 files changed, 16 insertions, 0 deletions
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.