blob: 2dd3d9c7ab565516e53535f17faee19b30d8f148 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//
//
//
//Variable declaration
l=2*6371 //Diameter of earth
v=30 //velocity
c=3*10**5 //velocity of light
//Calculations
dell=(l*v**2)/(2*c**2)/10**-5
//Result
printf("\n Change in length in diameter= %0.2f *10**-2 m",dell)
|