summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.4/Ex22_4.sce
blob: ea0debd490ad4c8f4e6f0d694e11ffebd522a3c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
l=6.3*10**-7                      //m
a=3.6                             //Degree
n=10

//Calculation
//
d=(n*l)/sin(a*3.14/180.0)

//Result
printf("\n Slit width is %0.1f  mm",d*10**3)