summaryrefslogtreecommitdiff
path: root/3480/CH6/EX6.2/Ex6_2.sce
blob: 21788b28d7bda549ccad6385f72027e25faf1e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 6.2, page 126
clc
k=1/.5
v=1/.2
v1=-4-5
p=-2*k
s1=-(1/v1)
m=-(5/v1)
printf("The power is %f D", p)
printf("\n The position of image is formed at %f m",s1)
printf("\n The magnification of image is %f cm",m)