summaryrefslogtreecommitdiff
path: root/2795/CH5/EX5.10/Ex5_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2795/CH5/EX5.10/Ex5_10.sce')
-rwxr-xr-x2795/CH5/EX5.10/Ex5_10.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2795/CH5/EX5.10/Ex5_10.sce b/2795/CH5/EX5.10/Ex5_10.sce
new file mode 100755
index 000000000..ee8c6de2d
--- /dev/null
+++ b/2795/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,15 @@
+// Scilab Code 5.10: : Page-190 (2013)
+clc; clear;
+dx = 6e-015; // The uncertainty in position of the electron, m
+h_bar = 1.054e-034; // PReduced Planck's constant, Js
+e = 1.602e-019; // Energy equivalnet of 1 eV, J/eV
+c = 3e+008; // Speed of light, m/s
+E0 = 0.511e+006; // Rest mass energy of the electron, J
+dp = h_bar*c/(2*dx*e); // Minimum electron momentum, eV/c
+p = dp; // Momentum of the electron at least equal to the uncertainty in momentum, eV/c
+E = sqrt(p^2+E0^2)/1e+006; // Relativistic energy of the electron, MeV
+K = E - E0/1e+006; // Minimum kinetic energy of the electron, MeV
+printf("\nThe minimum kinetic energy of the electron = %4.1f MeV", K);
+
+// Result
+// The minimum kinetic energy of the electron = 15.9 MeV