summaryrefslogtreecommitdiff
path: root/3782/CH5/EX5.6/Ex5_6.sce
blob: ae66e3f5bf11817aa78d876abd768e080e0b0faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

//

//

h1=100
h2=150

r2=12880
c=(6/7)*(1000/r2)
d1=sqrt(h1/c)
d2=sqrt(h2/c)

d=d1+d2
printf("\n distance AB = %0.3f meters',d)