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/CH2/EX2.57/Ch02Ex57.sce | |
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/CH2/EX2.57/Ch02Ex57.sce')
-rwxr-xr-x | 1847/CH2/EX2.57/Ch02Ex57.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1847/CH2/EX2.57/Ch02Ex57.sce b/1847/CH2/EX2.57/Ch02Ex57.sce new file mode 100755 index 000000000..cf857619e --- /dev/null +++ b/1847/CH2/EX2.57/Ch02Ex57.sce @@ -0,0 +1,14 @@ +// Scilab Code Ex2.57: : Page-2.47(2009) +clc; clear; +R = 1; // For simplicity assume radius of curvature of the lens to be unity, cm +n = 30; // Order of 3rd Newton ring +D_30 = 1; // Assume diameter of thirtieth ring to be unity, cm +// As D_30^2 = 4*n*R*lambda, solving for lambda +lambda = D_30^2/(4*n*R); // Wavelength of light used, cm +D_n = 3*D_30; // Diameter of nth dark ring having thrice the diameter of the thirtieth ring, cm +n = D_n^2/(4*R*lambda); // Order of a dark ring having thrice the diameter of the thirtieth ring + +printf("\nThe order of the dark ring having thrice the diameter of the thirtieth ring = %3d", n); + +// Result +// The order of the dark ring having thrice the diameter of the thirtieth ring = 270 |