summaryrefslogtreecommitdiff
path: root/1847/CH3/EX3.4/Ch03Ex4.sce
blob: 6fb8bfa83ef809e85fb60a7803c16242b74c6bed (plain)
1
2
3
4
5
6
7
8
9
10
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