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.1/1_1.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1949/CH1/EX1.1/1_1.sce (limited to '1949/CH1/EX1.1/1_1.sce') diff --git a/1949/CH1/EX1.1/1_1.sce b/1949/CH1/EX1.1/1_1.sce new file mode 100755 index 000000000..e318e57c1 --- /dev/null +++ b/1949/CH1/EX1.1/1_1.sce @@ -0,0 +1,17 @@ +//Chapter-1,Example 1_1,Page 1-16 +clc() + +//Given Data: +i=45*%pi/180 //angle of incidence +u=1.33 //Refractive index of a soap film +lam=5.896*10^-7 //wavelength of required yellow light + +//Calculations: +//u=sin i/sin r //Snell's law .So, +r=asin(sin(i)/u) //angle of reflection + +//Now, condition for bright fringe is +//2ut*cos r=(2n-1)lam/2 +//Here n=1 +t=lam/(2*2*u*cos(r)) //minimum thickness of film at which light will appear bright yellow +printf('Minimum thickness of film at which light will appear bright yellow of required wavelength is =%.10f m',t) -- cgit