summaryrefslogtreecommitdiff
path: root/3756/CH1/EX1.4
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH1/EX1.4')
-rw-r--r--3756/CH1/EX1.4/Ex1_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3756/CH1/EX1.4/Ex1_4.sce b/3756/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..6fab49b8e
--- /dev/null
+++ b/3756/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,17 @@
+clc
+//
+//
+//
+
+//Variable declaration
+D=0.04 //Distance from screen
+lambdaa=5890*10**-10 //Wavelength
+d=2*10**-3 //Slit separation
+n=10 //No. of fringes
+
+
+//Calculations
+x10=(n*D*lambdaa*10**-2)/d
+
+//Result
+printf("\n The position of the 10th fringe is %0.3f *10**-4 m",x10)