summaryrefslogtreecommitdiff
path: root/1958/CH10/EX10.5/Chapter10_example5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1958/CH10/EX10.5/Chapter10_example5.sce')
-rwxr-xr-x1958/CH10/EX10.5/Chapter10_example5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1958/CH10/EX10.5/Chapter10_example5.sce b/1958/CH10/EX10.5/Chapter10_example5.sce
new file mode 100755
index 000000000..fad1ceda7
--- /dev/null
+++ b/1958/CH10/EX10.5/Chapter10_example5.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//Input data
+w=6400//Wave length of light in Angstrom
+w1=0.3//Slit width in mm
+d=110//Distance of screen from the slit in cm
+n=3//order
+
+//Calculations
+x=((n*w*10^-10*(d/100))/(w1*10^-3))*1000//Distance between the centre of the central maximum and the third dark fringe in mm
+
+//Output
+printf('Distance between the centre of the central maximum and the third dark fringe is %3.2f mm',x)