blob: e6801b42072127e8e0d56b03e6643296bd9ae3f7 (
plain)
1
2
3
4
5
6
7
8
|
clc
//to calculate ratio of maximum intensity to minimum intensity
//formula is I1/I2=a1^2/a2^2=100/1
//a1/a2=10/1
a1=10 //a1=10*a2
a2=1
disp("the ratio of maximum intensity to minmum intensity in the interference pattern Imax/Imin=((a1+a2)^2)/((a1-a2)^2)="+string(((a1+a2)^2)/((a1-a2)^2))+"unitless")
//answer is given in terms of ratio in the book
|