summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.1/Ex22_1.sce
blob: 54dac36fe08a26f26ad0cf88300f28ddf69d80b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
D=1                           //m
l=5*10**-7                      //m
d=0.1*10**-3                    //m

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

//Result
printf("\n Width of the central maximum is %0.3f  cm", W*10**2)