summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3537/CH2/EX2.7/Ex2_7.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3537/CH2/EX2.7/Ex2_7.sce b/3537/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..6b2e01acc
--- /dev/null
+++ b/3537/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,9 @@
+//Example 2_7
+clc();
+clear;
+//TO find the highest order of the spectrum
+N=5000 //units in lines/cm
+lemda=6000*10^-8 //units in cm
+theta=90 //units in degrees
+k=((1/N)*sin(theta))/lemda
+printf("The highest order of the spectrum that can be seen is %.0f",k)