summaryrefslogtreecommitdiff
path: root/2780/CH7/EX7.22/Ex7_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH7/EX7.22/Ex7_22.sce')
-rwxr-xr-x2780/CH7/EX7.22/Ex7_22.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/2780/CH7/EX7.22/Ex7_22.sce b/2780/CH7/EX7.22/Ex7_22.sce
new file mode 100755
index 000000000..be93a8a7f
--- /dev/null
+++ b/2780/CH7/EX7.22/Ex7_22.sce
@@ -0,0 +1,8 @@
+clc
+//to calculate probability of finding the particle
+a=25*10^-10//width in angstrom
+//wave function of the particle is chi(x)=sqrt(2/a)*sin(n*%pi*x/a),for the particle in the least energy state n=1
+chix=sqrt(2/a)*sin(%pi*(a/2)/a)
+delx=5*10^-10 //interval in angstrom
+P=delx*chix^2
+disp("probability of finding the particle is P="+string(P)+"unitless")