summaryrefslogtreecommitdiff
path: root/3875/CH5/EX5.7
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH5/EX5.7')
-rw-r--r--3875/CH5/EX5.7/5_7.txt1
-rw-r--r--3875/CH5/EX5.7/Ex5_7.sce12
2 files changed, 13 insertions, 0 deletions
diff --git a/3875/CH5/EX5.7/5_7.txt b/3875/CH5/EX5.7/5_7.txt
new file mode 100644
index 000000000..15869d784
--- /dev/null
+++ b/3875/CH5/EX5.7/5_7.txt
@@ -0,0 +1 @@
+ The highest order of spectrum that can be seen is 3 \ No newline at end of file
diff --git a/3875/CH5/EX5.7/Ex5_7.sce b/3875/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..bd2ab706f
--- /dev/null
+++ b/3875/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,12 @@
+clc;
+clear;
+lambda=6000*10^-8 //wavelength in cm
+N=5000 //lines per cm
+k=3
+e=1/5000 //in cm
+sin_theta=1 //angle in radian
+
+//calculation
+k=(e*sin_theta)/lambda
+
+printf("The highest order of spectrum that can be seen is %d",k)