summaryrefslogtreecommitdiff
path: root/2072/CH24/EX24.6/EX24_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2072/CH24/EX24.6/EX24_6.sce')
-rwxr-xr-x2072/CH24/EX24.6/EX24_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2072/CH24/EX24.6/EX24_6.sce b/2072/CH24/EX24.6/EX24_6.sce
new file mode 100755
index 000000000..bf2759d32
--- /dev/null
+++ b/2072/CH24/EX24.6/EX24_6.sce
@@ -0,0 +1,15 @@
+//Chapter 24
+clc
+//Example 6
+//given
+lambda=580*10^-9 //wavelength of incident light in meter
+a=0.30*10^-3 //slit width in meter
+L=2 //distance of screen from slit in meters
+//The first dark fringe corresponds to m=+1 or -1
+m=1
+sin_theta=m*lambda/a
+//From fig 24.16 tan_theta=y/L and since theta is very small we have sin_theta=tan_theta hence sin_theta=y/L
+y=L*sin_theta
+disp(y," Position of first dark fringe in meters is")
+
+