summaryrefslogtreecommitdiff
path: root/3756/CH2/EX2.3/Ex2_3.sce
blob: 9cb7255bea286bb91ae31efe5aedc29a4d196337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
//
//
//

//Variable declaration
e=0.14  //width of the slit
y=1.6   //Distance of center of dark band from middle of central bright band
n=2     //no. of dark band
D=2     //Distance from the slit

//Calculations
lambdaa=((e*y)/(D*n))*10**5

//Result
printf("\n The Wavelength is %i Angstrom",lambdaa)