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 /1847/CH3/EX3.4 | |
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 '1847/CH3/EX3.4')
-rwxr-xr-x | 1847/CH3/EX3.4/Ch03Ex4.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1847/CH3/EX3.4/Ch03Ex4.sce b/1847/CH3/EX3.4/Ch03Ex4.sce new file mode 100755 index 000000000..6fb8bfa83 --- /dev/null +++ b/1847/CH3/EX3.4/Ch03Ex4.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex3.4:: Page-3.11 (2009)
+clc; clear;
+lambda = 1; // For simplicity assume wavelength of light used to be unity, unit
+R = 150; // Radius of curvature of the curved surface, cm
+r1 = sqrt(lambda*R); // For Newton's ring, cm
+f1 = r1^2/lambda; // Principal focal length of zone plate, cm
+
+printf("\nThe principal focal length of zone plate = %3d cm", f1);
+
+// Result
+// The principal focal length of zone plate = 150 cm
|