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

//Variable declaration
y=0.005              //First Minima
D=1                  //Distance of screen
e=0.5*10**-2         //Slit width

//Calculations
yd=(y/D)
sinyd=(sin(yd))
lambdaa1=((e*sinyd)/4)*10**9
lambdaa2=((e*sinyd)/5)*10**9

//Result
printf("\n The Wavelengths are %4.0f  Angstrom & %4.0f   Angstrom",lambdaa1,lambdaa2)