summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.17/Ex17_17.sce
blob: 9bd23df944c7c1f2cadce9481363ab0ab4981397 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
u1=1
u2=1.5
R=1

//Calculation
x=(u1+u2)/(u2-u1)

//Result
printf("\n Distance of the object is %0.3f  R", x)