summaryrefslogtreecommitdiff
path: root/1847/CH1/EX1.23
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH1/EX1.23
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 '1847/CH1/EX1.23')
-rwxr-xr-x1847/CH1/EX1.23/Ch01Ex23.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1847/CH1/EX1.23/Ch01Ex23.sce b/1847/CH1/EX1.23/Ch01Ex23.sce
new file mode 100755
index 000000000..389044f15
--- /dev/null
+++ b/1847/CH1/EX1.23/Ch01Ex23.sce
@@ -0,0 +1,14 @@
+// Scilab Code Ex1.23:: Page-1.31 (2009)
+clc; clear;
+v = 740; // Speed of the electron, m/s
+m = 9.1e-031; // Mass of the electron, kg
+h = 6.6e-034; // Planck's constant, Js
+p = m*v; // Momentum of the electron, kg-m/s
+frac_v = 0.05/100; // Correctness in the speed
+delta_p = p*frac_v; // Uncertainty in momentum, kg-m/s
+delta_x = h/(4*%pi)*1/delta_p; // Uncertainty in position, m
+
+printf("\nThe minimum accuracy to locate the position of an electron = %4.2e m",delta_x);
+
+// Result
+// The minimum accuracy to locate the position of an electron = 1.56e-04 m