summaryrefslogtreecommitdiff
path: root/1871/CH4/EX4.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH4/EX4.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1871/CH4/EX4.10')
-rwxr-xr-x1871/CH4/EX4.10/Ch04Ex10.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1871/CH4/EX4.10/Ch04Ex10.sce b/1871/CH4/EX4.10/Ch04Ex10.sce
new file mode 100755
index 000000000..671b6f686
--- /dev/null
+++ b/1871/CH4/EX4.10/Ch04Ex10.sce
@@ -0,0 +1,11 @@
+// Scilab code Ex4.10: Pg:147 (2008)
+clc;clear;
+delta_D = 5e-002; // Distance through which the screen is moved, m
+delta_omega = 3e-005; // Change in fringe width as a result of motion of screen, m
+d = 1e-003/2; // Half of the separation distance between the slits, m
+// As delta_omega = lambda*delta_D/(2*d), solving for lambda
+lambda = delta_omega*(2*d)/delta_D; // Wavelength of light used, m
+printf("\nThe wavelength of light used = %4d angstrom", lambda/1e-010);
+
+// Result
+// The wavelength of light used = 6000 angstrom