Home

Introduction

Contents

Scripts

FeedBack

Date 06/09/2010
Script S5_2_7.m
Download Script S5_2_7.m
%==============================================
%Young 6
%==============================================
%
%values of h, d and lambda in microns
h=5;
d=30;
lambda=0.5;
%values of teta1 and teta2 in radians
teta1=0.94*pi/180;
teta2=5.7*pi/180;
%corresponding sine values
senteta1=sin(teta1);
senteta2=sin(teta2);
%constant cost1 for the fringe due to interference of order m = 1
cost1=(pi/lambda)*senteta1;
%preliminary calculi
%for Ir1 of the fringe of interference or order m = 1
alfa1=cost1*h
beta1=cost1*d
num1=sin(alfa1)*sin(alfa1);
den1=alfa1*alfa1;
ya1=(num1/den1);
yb1=cos(beta1)*cos(beta1);
%Ir1
Ir1=(ya1*yb1)
%
%constant cost2 for the first minimum of diffraction of order m = 1
cost2=(pi/lambda)*senteta2;
%preliminary calculi
%for Ir2 of the first minimum of diffraction
alfa2=cost2*h
beta2=cost2*d
num2=sin(alfa2)*sin(alfa2);
den2=alfa2*alfa2;
ya2=num2/den2;
yb2=cos(beta2)*cos(beta2);
%Ir2
Ir2=ya2*yb2
%==============================================
%
Top