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/CH3/EX3.1/Ch03Ex1.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 1535/CH3/EX3.1/Ch03Ex1.sci (limited to '1535/CH3/EX3.1/Ch03Ex1.sci') diff --git a/1535/CH3/EX3.1/Ch03Ex1.sci b/1535/CH3/EX3.1/Ch03Ex1.sci new file mode 100755 index 000000000..c10eeaff9 --- /dev/null +++ b/1535/CH3/EX3.1/Ch03Ex1.sci @@ -0,0 +1,10 @@ +// Scilab Code Ex3.1 : Page-71 (2010) +beta = 0.51e-02; // Fringe width, cm +d = 2.2e-02; // Distance between the slits, cm +D = 2e+02; // Distance between the slits and the screen, cm +// As beta = D*lambda/d, solving for lambda +lambda = beta*d/D; // Wavelength of light, m +printf("\nThe wavelength of light = %4d angstrom", lambda/1e-010); + +// Result +// The wavelength of light = 5610 angstrom \ No newline at end of file -- cgit