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.30 | |
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.30')
-rwxr-xr-x | 2708/CH1/EX1.30/ex_1_30.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2708/CH1/EX1.30/ex_1_30.sce b/2708/CH1/EX1.30/ex_1_30.sce new file mode 100755 index 000000000..30f8ad16b --- /dev/null +++ b/2708/CH1/EX1.30/ex_1_30.sce @@ -0,0 +1,10 @@ +//Example 1.30 // velocity of light in medium
+clc;
+clear;
+//given data :
+d1=.3;// diameter of ring in cm
+d2=.25;//diameter of ring(in cm) after placing in medium
+c=3D8;//speed of light in m/s
+u=(d2/d1)^2;// refractive index of medium
+v=u*c;// velocity of light in fluid
+disp(v,"velocity of light in liquid in m/s")
|