summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.19/Ex19_19.sce
blob: 33b016880a7e9e043a1967148cac6afaf2c3e230 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
M=-20
R=-120

//Calculation
f0=R/2.0
fe=f0/M

//Result
printf("\n Focal length of eyepiece is %0.3f  cm", fe)