blob: 26a410f264e77daf53475aae13dd95904c882c77 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Given that
r = 0.9990
t = 10 //in years
//Sample Problem 38-1
printf("**Sample Problem 38-1**\n")
y = 1/sqrt(1-r^2)
tEarth = t*y
T = 2*tEarth
printf("The time as measured from the earth is %1.2fy", T)
|