summaryrefslogtreecommitdiff
path: root/2411/CH3/EX3.c.203/Ex3c_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2411/CH3/EX3.c.203/Ex3c_3.sce')
-rwxr-xr-x2411/CH3/EX3.c.203/Ex3c_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2411/CH3/EX3.c.203/Ex3c_3.sce b/2411/CH3/EX3.c.203/Ex3c_3.sce
new file mode 100755
index 000000000..bdd709d42
--- /dev/null
+++ b/2411/CH3/EX3.c.203/Ex3c_3.sce
@@ -0,0 +1,10 @@
+// Scilab Code Ex3c.3: Page-184 (2008)
+clc; clear;
+d = 0.1; // Separation between the two slits, cm
+D = 100; // Distance between the source and the slit, cm
+bita = 0.05; // Fringe width, cm
+lambda = bita*d/D; // Wavelength of light, cm
+printf("\nThe wavelength of light used = %4d angstrom", lambda/1e-008);
+
+// Result
+// The wavelength of light used = 5000 angstrom