Home

Introduction

Contents

Scripts

FeedBack

Date 08/09/2010
Script S5_2_6.m
Download Script S5_2_6.m
%==============================================
%Young 5
%==============================================
%
%measure are in microns
d=20;
%first wavelength
lambda1=0.4;
%second wavelength
lambda2=0.6;
%the orders considered
m=linspace(0,10,11);
%preliminary calculi for teta1g and teta2g
alfa1=m*(lambda1/d);
alfa2=m*(lambda2/d);
teta1=asin(alfa1);
teta2=asin(alfa2);
%
teta1g=teta1*180/pi;
%
teta2g=teta2*180/pi;
%their plots function of m
plot(m,teta1g,'ro-',m,teta2g,'bd-'),grid on
title('teta1g (red) and teta2g (blue) function of the order m')
Top