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

//Variable declaration
lambdaa=5000*10**-8     //Wavelength
theta=30                 //Angular Width


//Calculations
thetarad=((%pi/180)*(theta))
invde=((2*lambdaa)/(sin(thetarad)))**-1

//Result
printf("\n  The number of line cm in grating is %0.3f ",invde)