summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.10/Ex2_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH2/EX2.10/Ex2_10.sce')
-rw-r--r--3537/CH2/EX2.10/Ex2_10.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3537/CH2/EX2.10/Ex2_10.sce b/3537/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..5d8bcb19f
--- /dev/null
+++ b/3537/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,9 @@
+//Example 2_10
+clc();
+clear;
+//To calculate the width of the central maxima
+d=2 //units in meters
+lemda=500*10^-9 //units in meters
+a=1.5*10^-3 //units in meters
+x=((2*d*lemda)/a)*10^3
+printf("width of central maximum is %.2f mm",x)