summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.26/Ex2_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH2/EX2.26/Ex2_26.sce')
-rwxr-xr-x2780/CH2/EX2.26/Ex2_26.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2780/CH2/EX2.26/Ex2_26.sce b/2780/CH2/EX2.26/Ex2_26.sce
new file mode 100755
index 000000000..50e49d3c9
--- /dev/null
+++ b/2780/CH2/EX2.26/Ex2_26.sce
@@ -0,0 +1,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")