summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.3/Ex2_3.sce
blob: 16eed67fb2f174c9f5ca5fec520ce169e0353fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
//to calculate ratio of intensity at this point to that at the centre of a bright fringe
//the intensity at any pont is I=a1^2+a2^2+2*a1*a2*cos del
//let a1=a2=a
//phase difference del is 0
//then I0=a^2+a^2+2*a*a*cos 0
//we get I0=4a^2
I0=4 //intensity
//path difference is lemda/8
//phase difference =2*%pi/lemda*path difference=%pi/4
//I1=a^2+a^2+2a*a*cos %pi/4
//I1=3.414a^2
I1=3.414
intensity=I1/I0
disp(" ratio of intensity ="+string(intensity)+"unitless")