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

//Variable declaration
n=5000                //number of lines/cm
lamda=6000*10**-8     //wavelength(cm)

//Calculation
e=1/n                
k=e/lamda             //highest order of spectrum

//Result
printf("\n highest order of spectrum is %0.3f  ",k)