summaryrefslogtreecommitdiff
path: root/3828/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH2/EX2.3/Ex2_3.sce')
-rw-r--r--3828/CH2/EX2.3/Ex2_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH2/EX2.3/Ex2_3.sce b/3828/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..b41713b01
--- /dev/null
+++ b/3828/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,16 @@
+//Chapter 2 : Diffraction
+
+clear;
+
+//Variable declaration
+m=1 //first minimum
+a=90*10**-16 //slit width
+y=6*10**-3 //distance from central maximum
+D=0.98 //Screen distance
+
+//Calculations
+lamda=(y*a)/D/10**-17*10**3
+
+//Result
+mprintf("Wavelength of incident light lamda= %d Armstrong",lamda)
+