summaryrefslogtreecommitdiff
path: root/3869/CH2/EX2.7
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH2/EX2.7')
-rw-r--r--3869/CH2/EX2.7/Ex2_7.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3869/CH2/EX2.7/Ex2_7.sce b/3869/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..24c09c115
--- /dev/null
+++ b/3869/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n=5000 //number of lines/cm
+lamda=6000*10**-8 //wavelength(cm)
+
+//Calculation
+e=1/n
+k=e/lamda //highest order of spectrum
+
+//Result
+printf("\n highest order of spectrum is %0.3f ",k)