Home

Introduction

Contents

Scripts

FeedBack

Date 06/09/2010
Script S4_2_7.m
Download Script S4_2_7.m
%==============================================
%Multiple-beam interference
%==============================================
%
%refractive index of the plate
%a lower value
n=1.4;
%a higher value could be considered
% n=1.85;
%the wavelength 0.435 microns (the blue line of a mercury-vapor lamp)
lambda=0.435;
k=2*pi/lambda
%the thickness of the plate in microns
t=0.5e+003;
%angles of incidence teta from 0° to 90°
%and corresponding ones of refraction tetap1
%in degrees and in radians
teta_g=0:5:90;
teta=teta_g*(pi/180);
tetap1=asin(sin(teta)/n);
tetap1g=tetap1*180/pi;
plot(teta_g,tetap1g,'ro-'),grid on
title('angles of refraction varying angle of incidence from 0° to 90°')
figure
%maximum of m
maxm=(k*n*t)/pi
%the orders m
m=0:1:3500;
%arguments of the function arc cos
argp2=(m*pi)/(k*n*t);
%corresponding angles in radians and in degrees
tetap2=acos(argp2)
tetap2g=tetap2*180/pi;
%plot of refraction angles used for interference function of m
%see pag. 169 the definition of the optical path differences
plot(m,tetap2g,'bd-'),grid on
title('refraction angles used for interference varying m (see problem)')
%
%========================================================
%ATTENTION!
%THE LAST REAL VALUE OF m IS 3219
%(change the value in book at pag. 172 from 3218 to 3219)
%GREATER VALUES GIVES RISE TO COMPLEX VALUES OF m
%========================================================
%
%Answer when the angle of incidence is assigned equal to 14.1°
%for m (now called zm) use the formula defining fi (the phase sfift)
%at pag. 172
%Obviously we are not in an extreme condition
zeta=14.1*pi/180;
%corresponding angle of refraction
zeta1=asin(sin(zeta)/n);
zeta1g=zeta1*180/pi;
fatt1=cos(zeta1)
znum=2*n*500*fatt1
zm=znum/lambda
%==============================================
%
Top