summaryrefslogtreecommitdiff
path: root/1847/CH2/EX2.48/Ch02Ex48.sce
diff options
context:
space:
mode:
Diffstat (limited to '1847/CH2/EX2.48/Ch02Ex48.sce')
-rwxr-xr-x1847/CH2/EX2.48/Ch02Ex48.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1847/CH2/EX2.48/Ch02Ex48.sce b/1847/CH2/EX2.48/Ch02Ex48.sce
new file mode 100755
index 000000000..8c87bc5e6
--- /dev/null
+++ b/1847/CH2/EX2.48/Ch02Ex48.sce
@@ -0,0 +1,12 @@
+// Scilab Code Ex2.48: : Page-2.35(2009)
+clc; clear;
+mu = 1.4; // Refractive index of the film
+alpha = 1.07e-004; // Acute angle of the wedge, radian
+b = 0.2; // Fringe width, cm
+// As b = lambda/(2*mu*alpha), solving for lambda
+lambda = 2*mu*alpha*b; // Wavelength of light falling on wedge shaped film, m
+
+printf("\nThe wavelength of light falling on wedge shaped film = %4d ansgtrom", lambda/1e-008);
+
+// Result
+// The wavelength of light falling on wedge shaped film = 5991 ansgtrom