From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1847/CH3/EX3.2/Ch03Ex2.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1847/CH3/EX3.2/Ch03Ex2.sce (limited to '1847/CH3/EX3.2') diff --git a/1847/CH3/EX3.2/Ch03Ex2.sce b/1847/CH3/EX3.2/Ch03Ex2.sce new file mode 100755 index 000000000..a8b81ed22 --- /dev/null +++ b/1847/CH3/EX3.2/Ch03Ex2.sce @@ -0,0 +1,21 @@ +// Scilab Code Ex3.2:: Page-3.9 (2009) +clc; clear; +v1 = 36; // Position of the strongest image from the zone plate, cm +v2 = 9; // Position of the next image from the zone plate, cm +lambda = 5890e-008; // Wavelength of light used, cm +r1 = 1; // For simplicity assume radius of first ring of zone plate to be unity, cm +n = 1; // Order of zone plate +// As 1/v1-1/u = n*lambda/r1^2 = 1/3*(1/v2-1/u), solving for u +u = 2/(3/36-1/9); // Distance of the zone plate from source, cm +// As 1/v-1/u = n*lambda/r1^2, solving for r1 +r1 = sqrt(lambda/(1/v1-1/abs(u))); // Radius of first zone, cm +f1 = r1^2/(n*lambda); // Principal focal length, cm + +printf("\nThe distance of the zone plate from source = %2d cm", u); +printf("\nThe radius of first zone = %3.1e cm", r1); +printf("\nThe principal focal length = %4.1f cm", f1); + +// Result +// The distance of the zone plate from source = -72 cm +// The radius of first zone = 6.5e-002 cm +// The principal focal length = 72.0 cm -- cgit