summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.26/Ex2_26.sce
blob: 50e49d3c919b4e10225c64d5092ab421f6e538f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
//to calculate the distance from the apex of the wedge at which the maximum due to the two wavelengths first coincide
//condition for maxima for normal incidence air film is 2t=(2n+1)lambda/2
//let nth order maximum due to lambda1 coincides with (n+1)th order maximum due to lambda2 
//we get , n=(3lambda2-lambda1)/2(lambda1-lambda2)
// we also get, 2t=lambda1*lambda2/(lambda1-lambda2)
//t=X*theta
lambda1=5896*10^-8 //wavelength in cm
lambda2=5890*10^-8 //wavelength in cm
theta=0.3*%pi/180 //angle of wedge
X=lambda1*lambda2/(2*(lambda1-lambda2)*theta)
disp("the distance from the apex of the wedge is X="+string(X)+"cm")