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 /2708/CH1/EX1.23/ex_1_23.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 '2708/CH1/EX1.23/ex_1_23.sce')
-rwxr-xr-x | 2708/CH1/EX1.23/ex_1_23.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2708/CH1/EX1.23/ex_1_23.sce b/2708/CH1/EX1.23/ex_1_23.sce new file mode 100755 index 000000000..21bfbb2f8 --- /dev/null +++ b/2708/CH1/EX1.23/ex_1_23.sce @@ -0,0 +1,14 @@ +//Example 1.23 // distance between rings
+clc;
+clear;
+//given data :
+R1=100;//radii of curvature in cm
+R2=R1;// given
+w=5400D-8;// wavelength of light in m
+n1=5;// order of ring for case one
+r1=sqrt(n1*w/((1/R1)+(1/R2)));//radii of curvature in cm
+n2=15;// order of ring for second case
+r2=sqrt(n2*w/(1/R1+1/R2));// radii of curvature in cm
+d=r2-r1;// distance between rings
+disp(d,"distance between rings in cm")
+
|