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.20.1/1_20_1.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1949/CH1/EX1.20.1/1_20_1.sce (limited to '1949/CH1/EX1.20.1/1_20_1.sce') diff --git a/1949/CH1/EX1.20.1/1_20_1.sce b/1949/CH1/EX1.20.1/1_20_1.sce new file mode 100755 index 000000000..a37375d21 --- /dev/null +++ b/1949/CH1/EX1.20.1/1_20_1.sce @@ -0,0 +1,21 @@ +//Chapter-1,Example 1_20_1,Page 1-52 +clc() + +//Given Data: +i=45*%pi/180 //angle of incidence +u=1.2 //Refractive index of a film +t=4*10^-7 //thickness of film + +//Calculations: +//u=sin i/sin r //Snell's law .So, +r=asin(sin(i)/u) //angle of reflection + +//Now, condition for dark fringe is +//2ut*cos r=n*lam +lam1=2*u*t*cos(r)/1 //n=1 +printf('For n=1 wavelength is =%.10f m \n',lam1) +printf(' This is in the visible spectrum and it will remain absent.\n \n') + +lam2=2*u*t*cos(r)/2 //n=2 +printf(' For n=2 wavelength is =%.10f m \n',lam2) +printf(' This is not in the visible spectrum \n \n') -- cgit