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