diff options
Diffstat (limited to '2780/CH3/EX3.31/Ex3_31.sce')
-rwxr-xr-x | 2780/CH3/EX3.31/Ex3_31.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2780/CH3/EX3.31/Ex3_31.sce b/2780/CH3/EX3.31/Ex3_31.sce new file mode 100755 index 000000000..13e11a5e8 --- /dev/null +++ b/2780/CH3/EX3.31/Ex3_31.sce @@ -0,0 +1,11 @@ +clc
+//to calculate minimum number of lines in a grating
+lambda1=5890
+ //wavelengh in angstrom
+lambda2=5896
+dlambda=6 //smallest wavelength difference in angstrom
+n=2 //order of spectrum
+lambda=(lambda1+lambda2)/2 //average wavelength in angstrom
+RP=lambda/dlambda //RP=resolving power
+N=RP/n
+disp("minimum number of lines in a grating is N="+string(N)+"unitless")
|