summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.6/Ex1_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.6/Ex1_6.sce')
-rw-r--r--3537/CH1/EX1.6/Ex1_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3537/CH1/EX1.6/Ex1_6.sce b/3537/CH1/EX1.6/Ex1_6.sce
new file mode 100644
index 000000000..17d483ddb
--- /dev/null
+++ b/3537/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,15 @@
+//Example 1_6
+clc;
+clear;
+//find the distance between the slits
+lamda=500 //units in nm
+lamda=500*10^-9
+D=2 //units in mts
+f=100
+d1=5 //units in cm
+d1=5*10^-2 //units in mts
+betaa=d1/f //unitd in mts
+//the distance between the slits
+d=(lamda*D)/betaa //units in mts
+d=d*10^3 //units in mm
+printf("distance between slits is %dmm",d) \ No newline at end of file