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.10/Ch03Ex10.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1847/CH3/EX3.10/Ch03Ex10.sce (limited to '1847/CH3/EX3.10') diff --git a/1847/CH3/EX3.10/Ch03Ex10.sce b/1847/CH3/EX3.10/Ch03Ex10.sce new file mode 100755 index 000000000..42fc42886 --- /dev/null +++ b/1847/CH3/EX3.10/Ch03Ex10.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex3.10:: Page-3.24 (2009) +clc; clear; +f = 250; // Focal length of the lens, cm +x = 0.8; // Half width of central maxima, cm +lambda = 5500e-008; // Wavelength of light used, cm +// As x = f*lambda/a, solving for a +a = f*lambda/x; // Slit width in Fraunhofer single slit experiment + +printf("\nThe slit width = %5.3f cm", a); + +// Result +// The slit width = 0.017 cm -- cgit