Home

Introduction

Contents

Scripts

FeedBack

Date 08/09/2010
Script S3_2_7.m
Download Script S3_2_7.m
%==============================================
%A quartz prism
%==============================================
%
%refractive indices of quartz
%for lambda = 0.5893
ne=1.5543;
no=1.5443;
%legs of the right triangle
AB=1;
CB=3;
%the vertex alfa1 (see Fig. 3.23)
alfa1=atan(AB/CB);
alfa1g=alfa1*180/pi
%the angles of refraction on surface AC
%for the ordinary and extraordinary rays
arge=ne*sin(alfa1);
argo=no*sin(alfa1);
alfa2e=asin(arge)*180/pi
alfa2o=asin(argo)*180/pi
%calculus of the segment t
t=(CB/2)*sin(alfa1)
%calculus of the phases
lambda=0.5893;
fio=(2*pi/lambda)*no*t
fiog=fio*180/pi
fie=(2*pi/lambda)*ne*t
fieg=fie*180/pi
%phases in the range 0°-360°
fiogrem=rem(fiog,360)
fiegrem=rem(fieg,360)
diffg=fiegrem-fiogrem
%phases difference
difffase=diffg*pi/180
%lambda difference
difflambda=difffase*lambda/(2*pi)
%==============================================
%

Top