summaryrefslogtreecommitdiff
path: root/446/CH2/EX2.5/2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '446/CH2/EX2.5/2_5.sce')
-rwxr-xr-x446/CH2/EX2.5/2_5.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/446/CH2/EX2.5/2_5.sce b/446/CH2/EX2.5/2_5.sce
new file mode 100755
index 000000000..e34dc1658
--- /dev/null
+++ b/446/CH2/EX2.5/2_5.sce
@@ -0,0 +1,7 @@
+clear
+clc
+disp('Exa-2.5');
+Lo=100*(10^3); //Lo is converted to Km
+u=0.999978; ////u/c is taken as u since u is represented in terms of c.
+L=Lo*(sqrt(1-u^2)); // from the length contraction formula
+printf('Hence the apparent thickness of the Earth''s surface is %.2f metres.',L);