summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.15
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH2/EX2.15')
-rwxr-xr-x2780/CH2/EX2.15/Ex2_15.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2780/CH2/EX2.15/Ex2_15.sce b/2780/CH2/EX2.15/Ex2_15.sce
new file mode 100755
index 000000000..a5ab5be0c
--- /dev/null
+++ b/2780/CH2/EX2.15/Ex2_15.sce
@@ -0,0 +1,18 @@
+clc
+//to calculate distance of the third bright fringe on the screen from the central maximum
+lambda=6.5*10^-5 //wavelength in cm
+twod=0.2 //distance between the slits in cm
+D=120 //distance between the plane of the slits and the screen in cm
+n=3
+X3=D*n*lambda/twod
+disp("the distance of the third bright fringe from the central maximum is X3="+string(X3)+"cm")
+//to calculate the least distance from the central maximum
+lambda1=6.5*10^-5 //wavelength in cm
+lambda2=5.2*10^-5 //wavelength in cm
+//Xn=Dnlambda1/2d=D(n+1)lambda2/2d
+//we get,
+n=lambda2/(lambda1-lambda2)
+disp("n="+string(n)+"unitless")
+Xn=D*n*lambda1/twod
+disp("the distance from the central maximum when the bright fringes due to both wavelengths coincide is Xn="+string(Xn)+"cm")
+