//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)