summaryrefslogtreecommitdiff
path: root/3769/CH20/EX20.13/Ex20_13.sce
blob: e0f5eb5549bc53020cc8b2cee604ec89a265e3e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
R=6.4*10**6                  //m
hr=50                        //m
ht=32                       //m

//Calculation
//
d=sqrt(2*R*ht)+sqrt(2*R*hr)

//Result
printf("\n Maximum distance is %0.1f  Km",d*10**-3)