diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH3/EX3.10 | |
download | Scilab-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.10')
-rwxr-xr-x | 1871/CH3/EX3.10/Ch03Ex10.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1871/CH3/EX3.10/Ch03Ex10.sce b/1871/CH3/EX3.10/Ch03Ex10.sce new file mode 100755 index 000000000..fc11a5e49 --- /dev/null +++ b/1871/CH3/EX3.10/Ch03Ex10.sce @@ -0,0 +1,11 @@ +// Scilab code Ex3.10 : Pg:113 (2008)
+clc;clear;
+omega1 = 0.02; // Dispersive power of the convex lens
+omega2 = 0.04; // Dispersive power of the concave lens
+f2 = -80; // Focakl length of the concave lens, cm
+// As omega1/omega2 = -f1/f2, solving for f1
+f1 = -omega1/omega2*f2; // Focal length of the crown glass convex lens, cm
+printf("\nThe focal length of the crown glass convex lens = %2.0f cm", f1);
+
+// Result
+// The focal length of the crown glass convex lens = 40 cm
\ No newline at end of file |