summaryrefslogtreecommitdiff
path: root/3717/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3717/CH1/EX1.4/Ex1_4.sce')
-rw-r--r--3717/CH1/EX1.4/Ex1_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3717/CH1/EX1.4/Ex1_4.sce b/3717/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..057521134
--- /dev/null
+++ b/3717/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,11 @@
+// Ex1_4 Page:12 (2014)
+clc; clear;
+c = 3e+08; // Speed of light in vacuum, m/s
+delta_tau = 2.6e-08; // Mean lifetime of an unstable particle at rest, s
+d = 20; // Distance travelled by the unstable particle before it decays, m
+v = poly(0, "v"); // Declare the speed variable
+v = 1/sqrt(roots(d^2*v - (d/c)^2 - delta_tau^2)); // Speed of the particle in Lab frame from Time Dilation relation, m/s
+printf("\nThe speed at which the unstable particle 20 m distance before decaying = %3.1e m/s", v);
+
+// Result
+// The speed at which the unstable particle 20 m distance before decaying = 2.8e+08 m/s