summaryrefslogtreecommitdiff
path: root/3648/CH23/EX23.2/Ex23_2.sce
blob: 9b584c08b7f204b3075cf5ab413ad0357fecdfb7 (plain)
1
2
3
4
5
6
7
//Example 23_2
clc();
clear;
//To find the focal length of the corrective lens
d1=-50         //units in cm
f=-(d1)       //Units in cm
printf("The focal length of the corrective lens is f=%d cm",f)