summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.2/Ex22_2.sce
blob: 8a4b9b83fa596ebd50e6b5420492e22bb664feba (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
D=1.60                          //m
l=6328*10**-10                        //m
w=4.0*10**-3

//Calculation
d=(2*D*l)/w

//Result
printf("\n Width of the slit is %0.2f  mm",d*10**3)