summaryrefslogtreecommitdiff
path: root/2411/CH3/EX3.c.208/Ex3c_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2411/CH3/EX3.c.208/Ex3c_8.sce')
-rwxr-xr-x2411/CH3/EX3.c.208/Ex3c_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2411/CH3/EX3.c.208/Ex3c_8.sce b/2411/CH3/EX3.c.208/Ex3c_8.sce
new file mode 100755
index 000000000..798dbd4b0
--- /dev/null
+++ b/2411/CH3/EX3.c.208/Ex3c_8.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex3c.8: Page-186 (2008)
+clc; clear;
+lambda1 = 5893; // First wavelength of light, angstrom
+lambda2 = 4358; // Second wavelength of light, angstrom
+n = 40; // Number of fringes obtained with first wavelength
+// As bita1/bita2 = lambda1/lambda2, so
+x = n*lambda1/lambda2; // Number of fringes obtained with the seocond wavelength
+printf("\nThe number of fringes obtained with the given wavelength = %d", x);
+
+// Result
+// The number of fringes obtained with the given wavelength = 54 \ No newline at end of file