summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.21/Ex2_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH2/EX2.21/Ex2_21.sce')
-rw-r--r--3537/CH2/EX2.21/Ex2_21.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3537/CH2/EX2.21/Ex2_21.sce b/3537/CH2/EX2.21/Ex2_21.sce
new file mode 100644
index 000000000..6a7139227
--- /dev/null
+++ b/3537/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,9 @@
+//Example 2_21
+clc();
+clear;
+//To find the no. of orders are visible
+N=10520 //units in centimeters
+lemda=5*10^-5 //units in centimeters
+theta=90 //units in degrees
+n=((1/N)*sin(theta*%pi/180))/lemda
+printf("number of orders that are visible in granting spectra is %.0f",n)