summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.42/Ex1_42.sce
blob: b80dbac8167561d6be4d8549e48dee76e2401251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//
//
//

//Variable declaration
lamda=5000*10**-8     //wavelength(cm)
D=50             //separation between screen and slit(cm)
d=0.05           //separation between slits(cm)

//Calculation
beta1=lamda*D/d      //fringe width(cm)

//Result
printf("\n fringe width is %0.3f  cm",beta1)