summaryrefslogtreecommitdiff
path: root/3828/CH2/EX2.3/Ex2_3.sce
blob: b41713b01d2660e50d4ec197162e173f6fb7dd0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)