summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.8
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.8
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.8')
-rwxr-xr-x1949/CH1/EX1.8/1_8.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1949/CH1/EX1.8/1_8.sce b/1949/CH1/EX1.8/1_8.sce
new file mode 100755
index 000000000..2e7793884
--- /dev/null
+++ b/1949/CH1/EX1.8/1_8.sce
@@ -0,0 +1,15 @@
+//Chapter-1,Example 1_8,Page 1-19
+clc()
+
+//Given Data:
+lam=5.893*10^-7 //Wavelength of light
+theta=1 //assuming value of theta
+
+//We know, B=lam/(2*u*theta). Here u=1
+B=lam/(2*theta) //fringe spacing
+n=20 //interference fringes
+
+//Calculations:
+//t=n*B*tan(theta)
+t=20*B*theta //Thickness of wire
+printf('Thickness of wire is =%.9f m',t)