summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH2/EX2.7/Ex2_7.sce')
-rwxr-xr-x2780/CH2/EX2.7/Ex2_7.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/2780/CH2/EX2.7/Ex2_7.sce b/2780/CH2/EX2.7/Ex2_7.sce
new file mode 100755
index 000000000..0ecc6586a
--- /dev/null
+++ b/2780/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,7 @@
+clc
+//to calculate distance between the two coherent sources
+lambda=5890*10^-10 //wavelength in m
+omega=9.424*10^-4 //width of the fringes in m
+D=.80 //distance in m
+twod=D*lambda/omega
+disp("the distance between two coherent sources is twod="+string(twod)+"m")