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 --- 1535/CH4/EX4.1/Ch04Ex1.sci | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1535/CH4/EX4.1/Ch04Ex1.sci (limited to '1535/CH4/EX4.1/Ch04Ex1.sci') diff --git a/1535/CH4/EX4.1/Ch04Ex1.sci b/1535/CH4/EX4.1/Ch04Ex1.sci new file mode 100755 index 000000000..8e19c16e8 --- /dev/null +++ b/1535/CH4/EX4.1/Ch04Ex1.sci @@ -0,0 +1,15 @@ +// Scilab Code Ex4.1 : Page-91 (2010) +D = 50; // Distance between source and the screen, cm +lambda = 6563e-008; // Wavelength of light of parallel rays, m +d = 0.385e-01; // Width of the slit, cm +n = 1; // Order of diffraction for first minimum +// As sin(theta1) = n*lambda/d = x1/D, solving for x1 +x1 = n*lambda*D/d; // Distance from the centre of the principal maximum to the first minimum, cm +printf("\nThe Distance from the centre of the principal maximum to the first minimum = %4.2f mm", x1/1e-001); +n = 5; // Order of diffraction for fifth minimum +x2 = n*lambda*D/d; // Distance from the centre of the principal maximum to the fifth minimum, cm +printf("\nThe Distance from the centre of the principal maximum to the fifth minimum = %4.2f mm", x2/1e-001); + +// Result +// The Distance from the centre of the principal maximum to the first minimum = 0.85 mm +// The Distance from the centre of the principal maximum to the fifth minimum = 4.26 mm \ No newline at end of file -- cgit