summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.40/Ex1_40.sce
blob: 03dbdd59d70bf635ad142aacfbfdaf341c672874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//
//
//

//Variable declaration
D=180             //separation between screen and slit(cm)
d=0.04            //separation between slits(cm)
beta1=0.3          //fringe width(cm)

//Calculation
lamda=(beta1*d*10**4/D)      //wavelength(cm)


//Result
printf("\n wavelength is %0.0f  angstrom",lamda*10**4)