summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.40/Ex1_40.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH1/EX1.40/Ex1_40.sce')
-rw-r--r--3869/CH1/EX1.40/Ex1_40.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3869/CH1/EX1.40/Ex1_40.sce b/3869/CH1/EX1.40/Ex1_40.sce
new file mode 100644
index 000000000..03dbdd59d
--- /dev/null
+++ b/3869/CH1/EX1.40/Ex1_40.sce
@@ -0,0 +1,16 @@
+clear
+//
+//
+//
+
+//Variable declaration
+D=180 //separation between screen and slit(cm)
+d=0.04 //separation between slits(cm)
+beta1=0.3 //fringe width(cm)
+
+//Calculation
+lamda=(beta1*d*10**4/D) //wavelength(cm)
+
+
+//Result
+printf("\n wavelength is %0.0f angstrom",lamda*10**4)