blob: 97d5138d7e38bc50d38a42cf9fecf4d53e546bc4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Scilab Code Ex4.3: Page:193 (2011)
clc;clear;
f1 = 5;....// Focal length of thin convex lens, cm
f2 = 3;....// Focal length of thin convex lens, cm
d = 2;....// Separation between the lenses, cm
F = f1*f2/(f1+f2-d);....// Equivalent focal length of a combination of the two lenses, cm
printf("\nThe equivalent focal length of the combination of lenses = %3.1f cm", F)
// Result
// The equivalent focal length of the combination of lenses = 2.5 cm
|