summaryrefslogtreecommitdiff
path: root/3701/CH3/EX3.4/Ex3_4.sce
blob: 43f785be3e60c339e0e4e8dd4f5525d4710f2028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
////Given
v=1200                                 //A
R=1.097*10**7                          //m-1
n1=2.0
n2=3.0

//Calculation
v1=(R*(1-(1/n1**2)))
v2=(R*(1-(1/n2**2)))
V=v1/v2
V1=V*v

//Result
printf("\n Wavelength of the second line is  %0.3f A", V1)