summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.1/Ex19_1.sce
blob: 5d2f30967232f09a02f2846c1db96803cc2f347d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
v=-75.0
u=0

//Calculation
f=v
P=100/f

//Result
printf("\n Focal length is %0.3f  cm", f)
printf("\n Power of the lens is %0.2f  D",P)