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.21/1_21.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 1949/CH1/EX1.21/1_21.sce (limited to '1949/CH1/EX1.21') diff --git a/1949/CH1/EX1.21/1_21.sce b/1949/CH1/EX1.21/1_21.sce new file mode 100755 index 000000000..e54fadb6f --- /dev/null +++ b/1949/CH1/EX1.21/1_21.sce @@ -0,0 +1,23 @@ +//Chapter-1,Example 1_21,Page 1-45 +clc() + +//Given Data: +u=1.33 //Refractive index of a soap film +r=0 //normal incidence +t=5*10^-7 //thickness of film + +//Calculations: + +//Now, condition for maxima is +//2ut*cos r=(2n-1)lam/2 +lam1=4*u*t*cos(r)/(2*1-1) //n=1 +printf('For n=1 wavelength is =%.10f m \n',lam1) +lam2=4*u*t*cos(r)/(2*2-1) //n=2 +printf(' For n=2 wavelength is =%.10f m \n',lam2) +lam3=4*u*t*cos(r)/(2*3-1) //n=3 +printf(' For n=3 wavelength is =%.10f m \n',lam3) +lam4=4*u*t*cos(r)/(2*4-1) //n=4 +printf(' For n=4 wavelength is =%.10f m \n \n',lam4) + +printf(' Out of these wavelengths wavelength for n=3 lies in the visible spectrum. \n \n') +printf(' Hence, wavelength for n=3 is the most reflected wavelength.') -- cgit