summaryrefslogtreecommitdiff
path: root/2708/CH1/EX1.21/ex_1_21.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2708/CH1/EX1.21/ex_1_21.sce
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 '2708/CH1/EX1.21/ex_1_21.sce')
-rwxr-xr-x2708/CH1/EX1.21/ex_1_21.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2708/CH1/EX1.21/ex_1_21.sce b/2708/CH1/EX1.21/ex_1_21.sce
new file mode 100755
index 000000000..b7d5084b6
--- /dev/null
+++ b/2708/CH1/EX1.21/ex_1_21.sce
@@ -0,0 +1,11 @@
+//Example 1.21 // radius of lens
+clc;
+clear;
+//given data :
+w=5890D-10;//wavelength used in m
+d=.01;//diameter of dark ring in m
+r=%pi/6;//angle that light passes in radian
+n=3;// order of ring
+u=1;// refractive index of medium between lens and plate
+R=u*(d^2)*cos(r)/(4*n*w);// radius of lens in m
+disp(R,"radius of lens in m")