summaryrefslogtreecommitdiff
path: root/3869/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH2/EX2.11/Ex2_11.sce')
-rw-r--r--3869/CH2/EX2.11/Ex2_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3869/CH2/EX2.11/Ex2_11.sce b/3869/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..220138a82
--- /dev/null
+++ b/3869/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+d=2 //diffraction observed(m)
+lamda=500*10**-9 //wavelength(m)
+x=5*10**-3 //width of central maxima(m)
+
+//Calculation
+a=d*lamda/x //slit width(m)
+
+//Result
+printf("\n slit width is %0.3f mm",a*10**3)