diff options
Diffstat (limited to '3669/CH14/EX14.9')
-rw-r--r-- | 3669/CH14/EX14.9/9.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/3669/CH14/EX14.9/9.sce b/3669/CH14/EX14.9/9.sce new file mode 100644 index 000000000..8cc75b28e --- /dev/null +++ b/3669/CH14/EX14.9/9.sce @@ -0,0 +1,11 @@ +
+//Variable declaration
+lamda=500*10**-9; //wavelength(m)
+D=2; //diameter(m)
+beta=(5/100)*10**-2; //fringe width(m)
+
+//Calculation
+d=lamda*D/beta; //separation between slits(m)
+
+//Result
+printf('separation between slits is %0.3f mm \n',int(d*10**3))
\ No newline at end of file |