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.9/Ch03Ex9.sci | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 1535/CH3/EX3.9/Ch03Ex9.sci (limited to '1535/CH3/EX3.9/Ch03Ex9.sci') diff --git a/1535/CH3/EX3.9/Ch03Ex9.sci b/1535/CH3/EX3.9/Ch03Ex9.sci new file mode 100755 index 000000000..fadd7f774 --- /dev/null +++ b/1535/CH3/EX3.9/Ch03Ex9.sci @@ -0,0 +1,8 @@ +// Scilab Code Ex3.9 : Page-73 (2010) +x = 0.002945; // Distance through which movable mirror is shifted, cm +N = 100; // Number of fringes shifted +lambda = 2*x/N; // Wavelength of light, m +printf("\nThe wavelength of light = %4d angstrom", lambda/1e-008); + +// Result +// The wavelength of light = 5890 angstrom \ No newline at end of file -- cgit