summaryrefslogtreecommitdiff
path: root/1847/CH1/EX1.23/Ch01Ex23.sce
diff options
context:
space:
mode:
Diffstat (limited to '1847/CH1/EX1.23/Ch01Ex23.sce')
-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