summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.23/Ex2_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH2/EX2.23/Ex2_23.sce')
-rw-r--r--3537/CH2/EX2.23/Ex2_23.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3537/CH2/EX2.23/Ex2_23.sce b/3537/CH2/EX2.23/Ex2_23.sce
new file mode 100644
index 000000000..62ef3df30
--- /dev/null
+++ b/3537/CH2/EX2.23/Ex2_23.sce
@@ -0,0 +1,8 @@
+//Example 2_23
+clc();
+clear;
+//To calculate the possible order of spectra
+N=5.095*10^3 //units in lines per inch
+lemda=6000*10^-8 //units in cm
+m=(1/N)/lemda
+printf("The possible order of the spectra is %.0f",m)