summaryrefslogtreecommitdiff
path: root/3756/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3756/CH1/EX1.2/Ex1_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3756/CH1/EX1.2/Ex1_2.sce b/3756/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..29ddb8295
--- /dev/null
+++ b/3756/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,17 @@
+clc
+//
+//
+//
+
+//Variable declaration
+D=2 //Distance from screen
+lambdaa=5100 //Wavelength
+Beta=0.02 //Fringe Width
+x=10 //No. of fringes
+
+
+//Calculations
+d=(x*D*lambdaa)/Beta/10**6
+
+//Result
+printf("\n The Double slit separation 2d= %0.3f mu m",d)