From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2708/CH1/EX1.30/ex_1_30.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 2708/CH1/EX1.30/ex_1_30.sce (limited to '2708/CH1/EX1.30') 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") -- cgit