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

//Variable declaration
N=15000/2.54                    //number of lines(per cm)
lamda=6000*10**-8               //wavelength(cm)

//Calculation
d=1/N                           //slit width(m) 
m=d/lamda                       //possible order of spectra      

//Result
printf("\n possible order of spectra is %0.3f  ",m)