summaryrefslogtreecommitdiff
path: root/3480/CH3/EX3.4/Ex3_4.sce
blob: 28f5de4b0f45856a78a972dccef46c3b12065388 (plain)
1
2
3
4
5
6
7
8
//Example 3.4, page 78
clc
n=1
n1=1.5
r=2//in cm
s=12//in cm
f=r/(n1-n)
printf("\n The focal length is  %d cm",f)