blob: 35683cf9ac7933d9fe03174851cdb9a4c54d18d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
s=1.9*10^-5//1/c
t1=15//c
t2=20//c
//CALCULATIONS
g=(1+(s*(t2-t1)))^(0.5)
h=g-1
d=h*24*60*60
//results
printf(' per day difference= % 1f sec',d)
|