summaryrefslogtreecommitdiff
path: root/3014/CH2/EX2.20/Ex2_20.sce
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.20/Ex2_20.sce
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.20/Ex2_20.sce')
-rwxr-xr-x3014/CH2/EX2.20/Ex2_20.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3014/CH2/EX2.20/Ex2_20.sce b/3014/CH2/EX2.20/Ex2_20.sce
new file mode 100755
index 000000000..ef85f594b
--- /dev/null
+++ b/3014/CH2/EX2.20/Ex2_20.sce
@@ -0,0 +1,11 @@
+clc
+//given that
+del_v = 5.5e-20 // Uncertainty in velocity in m/s
+h = 6.63e-34 // Plank constant
+m = 1 // mass of dust particle in mg
+printf("Example 2.20")
+h_bar = h / (2*%pi) // constant
+del_x = h_bar/(2*del_v*m*1e-6) // Calculation of uncertainty in momentum
+printf("\n Uncertainty in position of ball is %f angstrom.\n\n\n",del_x*1e10)
+// Answer in book is 9.6 angstrom
+