diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1949/CH1/EX1.25/1_25.sce | |
download | Scilab-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.25/1_25.sce')
-rwxr-xr-x | 1949/CH1/EX1.25/1_25.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1949/CH1/EX1.25/1_25.sce b/1949/CH1/EX1.25/1_25.sce new file mode 100755 index 000000000..032370372 --- /dev/null +++ b/1949/CH1/EX1.25/1_25.sce @@ -0,0 +1,14 @@ +//Chapter-1,Example 1_25,Page 1-47
+clc()
+
+//Given Data:
+lam1=6*10^-7 //wavelength of light
+lam2=4.5*10^-7 //wavelength of light
+R=0.9 //Radius of curvature
+
+//Calculations:
+//As Dn^2=4*n*R*lam.
+//Dn^2=D(n+1)^2 for different wavelengths.we get,
+n=lam2/(lam1-lam2) //nth dark ring due to lam1 which coincides with (n+1)th dark ring due lam2
+D3=sqrt(4*n*R*lam1) //diameter of 3rd dark ring for lam1
+printf('Diameter of 3rd dark ring for lam1 is =%.5f m \n',D3)
|