summaryrefslogtreecommitdiff
path: root/3869/CH2/EX2.24/Ex2_24.sce
blob: cc66f1557edab340b24c93abe00119fb5a0f70f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//
//
//

//Variable declaration
D=150                           //slit screen distance(cm)
d=0.03                          //separation(cm)
beta1=0.3                        //fringe separation(cm)

//Calculation
lamda=d*beta1*10**8/D            //wavelength of light(angstrom)

//Result
printf("\n wavelength of light is %0.0f  angstrom",lamda)