summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.37/Ex1_37.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH1/EX1.37/Ex1_37.sce')
-rw-r--r--3869/CH1/EX1.37/Ex1_37.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3869/CH1/EX1.37/Ex1_37.sce b/3869/CH1/EX1.37/Ex1_37.sce
new file mode 100644
index 000000000..69346c14f
--- /dev/null
+++ b/3869/CH1/EX1.37/Ex1_37.sce
@@ -0,0 +1,16 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=51*10**-6 //wavelength(cm)
+D=200 //separation between screen and slit(cm)
+beta1=1 //fringe width(cm)
+n=10
+
+//Calculation
+d=lamda*D/beta1 //slit separation(cm)
+
+//Result
+printf("\n slit separation is %0.3f m",d*100)