diff options
Diffstat (limited to '1535/CH9/EX9.4/Ch09Ex4.sci')
-rwxr-xr-x | 1535/CH9/EX9.4/Ch09Ex4.sci | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1535/CH9/EX9.4/Ch09Ex4.sci b/1535/CH9/EX9.4/Ch09Ex4.sci new file mode 100755 index 000000000..95c7b9772 --- /dev/null +++ b/1535/CH9/EX9.4/Ch09Ex4.sci @@ -0,0 +1,14 @@ +// Scilab Code Ex9.4: Uncertainty principle for position and momentum: Page-203 (2010)
+h = 6.626e-034; // Planck's constant, Js
+m = 9.1e-031; // Mass of the electron, kg
+v = 1.1e+006; // Speed of the electron, m/s
+p = m*v; // Momentum of the electron, kg-m/s
+dp = 0.1/100*p; // Uncertainty in momentum, kg-m/s
+h_bar = h/(2*%pi); // Reduced Planck's constant, Js
+// From Heisenberg uncertainty principle,
+// dx*dp = h_bar/2, solving for dx
+dx = h_bar/(2*dp); // Uncertainty in position, m
+printf("\nThe uncertainty in position of electron = %4.2e m", dx);
+
+// Result
+// The uncertainty in position of electron = 5.27e-008 m
\ No newline at end of file |