1 2 3 4 5 6 7 8 9 10 11 12
clear //Given R=6400*10**3 //m h=160 //Calculation // d=sqrt(2*R*h) h2=4*h //Result printf("\n Height is %0.3f m", h2)