summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.15/Ex17_15.sce
blob: 41631ce9a8ba60adc2812759abc9f46862616aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
u=-15               //cm
y1=1
y2=1.5
R=-7.5              //cm

//Calculation
v=1/(((y1-y2)/R)-(y2/-u))

//Result
printf("\n Position of the image is %0.3f  cm",v)