diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH2/EX2.26 | |
download | Scilab-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.26')
-rwxr-xr-x | 3014/CH2/EX2.26/Ex2_26.sce | 11 | ||||
-rwxr-xr-x | 3014/CH2/EX2.26/Ex2_26.txt | 4 |
2 files changed, 15 insertions, 0 deletions
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 |