summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.33/Ex17_33.sce
blob: 9bdeaf6be5e67b239450a3da3d90fbd66cb83fd5 (plain)
1
2
3
4
5
6
7
8
9
10
clear
//Given
f=-0.2                        //m
v=0.3                         //m

//Calculation
u=1/((1/v)-(1/f))

//Result
printf("\n Position of the point is %0.3f  m", u)