summaryrefslogtreecommitdiff
path: root/446/CH2/EX2.5/2_5.sce
blob: e34dc16581da0f7857ed3f431849f251c41a9646 (plain)
1
2
3
4
5
6
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);