summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.9/Ex1_9.sce
blob: fce22d92380ff21fb9082da8184f21123633dbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//
//
//

//Variable declaration
lamda1=650*10**-9       //wavelength(m)
lamda2=500*10**-9       //wavelength(m)
n1=10
n2=13
D=1                     //distance(m)
d=0.5*10**-3            //seperation(m)

//Calculation
x=n1*lamda1*D/d         //least distance of the point from central maximum(m)

//Result
printf("\n least distance of the point from central maximum is %0.0f  mm",x*10**3)