diff options
Diffstat (limited to '3717/CH1/EX1.3/Ex1_3.sce')
-rw-r--r-- | 3717/CH1/EX1.3/Ex1_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3717/CH1/EX1.3/Ex1_3.sce b/3717/CH1/EX1.3/Ex1_3.sce new file mode 100644 index 000000000..d39b9c72b --- /dev/null +++ b/3717/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,12 @@ +// Ex1_3 Page:12 (2014)
+clc; clear;
+c = 1; // For simplicity assume speed of light to be unity, m/s
+L0 = 1; // For simplicity assume the classical length of the rod to be unity, m
+d = 1; // Percentage difference of relativistic length from the classical length
+L = (1 - d/100)*L0; // Relativistic length, m
+v = poly(0, "v"); // Declare speed variable
+v = roots(1 - v^2 - (L/L0)^2); // Relativistic speed of the moving object
+printf("\nThe speed at which the relativistic value for length differ from the classical value by one percent = %5.3fc", v(1));
+
+// Result
+// The speed at which the relativistic value for length differ from the classical value by one percent = 0.141c
|