summaryrefslogtreecommitdiff
path: root/1871/CH4/EX4.28
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.28
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.28')
-rwxr-xr-x1871/CH4/EX4.28/Ch04Ex28.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1871/CH4/EX4.28/Ch04Ex28.sce b/1871/CH4/EX4.28/Ch04Ex28.sce
new file mode 100755
index 000000000..f8209c814
--- /dev/null
+++ b/1871/CH4/EX4.28/Ch04Ex28.sce
@@ -0,0 +1,14 @@
+// Scilab code Ex4.28 : Pg:168 (2008)
+clc;clear;
+lambda1 = 6.1e-005; // Wavelength corresponding to the first dark band, cm
+lambda2 = 6.0e-005; // Wavelength corresponding to the second dark band, cm
+n = lambda2/(lambda1 - lambda2); // Order of dark band
+mu = 4/3; // Refractive index of the film
+sin_i = 4/5; // Sine of ngle of incidence
+sin_r = sin_i/mu; // Sine of angle of reflection from Snell's Law, degree
+cos_r = sqrt(1-sin_r^2); // Cosine of angle of reflection from the trigonometric identity, degree
+t = n*lambda1/(2*mu*cos_r); // The thickness of the oil film, cm
+printf("\nThe thickness of the soap film = %6.4f cm", t);
+
+// Result
+// The thickness of the soap film = 0.0017 cm \ No newline at end of file