summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.13/Ex2_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH2/EX2.13/Ex2_13.sce')
-rw-r--r--3537/CH2/EX2.13/Ex2_13.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH2/EX2.13/Ex2_13.sce b/3537/CH2/EX2.13/Ex2_13.sce
new file mode 100644
index 000000000..ca9b1e454
--- /dev/null
+++ b/3537/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,10 @@
+//Example 2_13
+clc();
+clear;
+//deduce the missing order of a double slit
+a=0.16*10^-3 //units in m
+b=0.8*10^-3 //units in m
+n_p=(a+b)/a
+for j=1:3
+printf("For p=%d n=%d\n",j,j*n_p);
+end