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 --- 1949/CH1/EX1.9/1_9.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 1949/CH1/EX1.9/1_9.sce (limited to '1949/CH1/EX1.9') diff --git a/1949/CH1/EX1.9/1_9.sce b/1949/CH1/EX1.9/1_9.sce new file mode 100755 index 000000000..edc2ebb44 --- /dev/null +++ b/1949/CH1/EX1.9/1_9.sce @@ -0,0 +1,18 @@ +//Chapter-1,Example 1_9,Page 1-20 +clc() + +//Given Data: +u1=1.3 //Refractive index of oil +u2=1.5 //Refractive index of glass +lam1=7*10^-7 //Wavelength of light +lam2=5*10^-7 //Wavelength of light + +//Calculations: + +//for finding value of n, solve: +//(2n+1)*lam1/2=(2(n+1)+1)*lam2/2 +//We get,n=2 +n=2 + +toil=(2*n+1)*lam1/(2*u1*2) //thickness of oil layer +printf('Thickness of oil layer is =%.9f m',toil) -- cgit