summaryrefslogtreecommitdiff
path: root/3769/CH21/EX21.4/Ex21_4.sce
blob: e33b534165166f9a19057be91e05401fd232115e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
l=6000*10**-10                       //m
D=0.800                               //m
d=0.200*10**-3                         //m

//Calculation
x2=(3*l*D)/(2.0*d)
x21=(2*D*l)/d

//Result
printf("\n (i) Distance of the second dark fringe is %0.3f  cm", x2*10**2)
printf("\n (ii) Distance of the second dark fringe is %0.3f  cm", x21*10**2)