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

//Variable declaration
lambdaa=5000*10**-8     //Wavelength
N=40000                 //Grating lines
de=12.5*10**-5          //Diffraction element

//Calculations
RPmax=((de*N)/lambdaa)

//Result
printf("\n  The Maximum resolving power is %i or 10**5",RPmax)