summaryrefslogtreecommitdiff
path: root/1535/CH3/EX3.9/Ch03Ex9.sci
diff options
context:
space:
mode:
Diffstat (limited to '1535/CH3/EX3.9/Ch03Ex9.sci')
-rwxr-xr-x1535/CH3/EX3.9/Ch03Ex9.sci8
1 files changed, 8 insertions, 0 deletions
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