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