summaryrefslogtreecommitdiff
path: root/1871/CH3/EX3.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH3/EX3.17
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1871/CH3/EX3.17')
-rwxr-xr-x1871/CH3/EX3.17/Ch03Ex17.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1871/CH3/EX3.17/Ch03Ex17.sce b/1871/CH3/EX3.17/Ch03Ex17.sce
new file mode 100755
index 000000000..e6a2662aa
--- /dev/null
+++ b/1871/CH3/EX3.17/Ch03Ex17.sce
@@ -0,0 +1,12 @@
+// Scilab code Ex3.17 : Pg:125(2008)
+clc;clear;
+F = 10; // Equivalent focal length of the combination of lenses, cm
+d = 2; // Distance between the lenses of doublet, cm
+// The condition of minimum spherical aberration gives
+// f1 = f2 = d or f2 = f1 - d
+f1 = 2*F; // Focal length of the first lens, cm
+f2 = f1 - d; // Focal length of the second lens, cm
+printf("\nThe focal length of component lenses of a convergent doublet, f1 = %2d cm and f2 = %2d cm", f1, f2);
+
+// Result
+// The focal length of component lenses of a convergent doublet, f1 = 20 cm and f2 = 18 cm \ No newline at end of file