summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.26
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.26
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.26')
-rwxr-xr-x1949/CH1/EX1.26/1_26.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1949/CH1/EX1.26/1_26.sce b/1949/CH1/EX1.26/1_26.sce
new file mode 100755
index 000000000..fd819fab3
--- /dev/null
+++ b/1949/CH1/EX1.26/1_26.sce
@@ -0,0 +1,17 @@
+//Chapter-1,Example 1_26,Page 1-48
+clc()
+
+//Given Data:
+i=45*%pi/180 //angle of incidence
+u=4/3 //Refractive index of soap film
+lam=5*10^-7 //wavelength of light
+t=1.5*10^-6 //thickness of film
+
+//Calculations:
+//u=sin i/sin r //Snell's law .So,
+r=asin(sin(i)/u) //angle of reflection
+
+//Now, condition for dark band is
+//2ut*cos r=n*lam
+n=2*u*t*cos(r)/lam //order of band
+printf('order of dark band is =%.1f \n',n)