summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.22
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1949/CH1/EX1.22
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 '1949/CH1/EX1.22')
-rwxr-xr-x1949/CH1/EX1.22/1_22.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1949/CH1/EX1.22/1_22.sce b/1949/CH1/EX1.22/1_22.sce
new file mode 100755
index 000000000..6b3c03b52
--- /dev/null
+++ b/1949/CH1/EX1.22/1_22.sce
@@ -0,0 +1,15 @@
+//Chapter-1,Example 1_22,Page 1-46
+clc()
+
+//Given Data:
+u=1.5 //Refractive index of a oil
+lam=5.88*10^-7 //wavelength of required yellow light
+n=1 //for smallest thickness
+r=60*%pi/180 //angle of reflection
+
+//Calculations:
+
+//Now, condition for dark fringe is
+//2ut*cos r=n*lam
+t=n*lam/(2*u*cos(r)) //thickness of film
+printf('Thickness of the film is =%.10f m',t)