summaryrefslogtreecommitdiff
path: root/3753/CH1/EX1.16/Ex1_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH1/EX1.16/Ex1_16.sce')
-rw-r--r--3753/CH1/EX1.16/Ex1_16.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3753/CH1/EX1.16/Ex1_16.sce b/3753/CH1/EX1.16/Ex1_16.sce
new file mode 100644
index 000000000..fb4f2173f
--- /dev/null
+++ b/3753/CH1/EX1.16/Ex1_16.sce
@@ -0,0 +1,14 @@
+//Example number 1.16, Page number 1.39
+clc;clear;close
+
+
+//Variable declaration
+theta=90*%pi/180 //theta=90 degrees to get maximum number of orders assume
+lamda=5890*10**-10 // in m
+aplusb=2*10**-6 //micro mts to mts
+
+//Calculation
+n=(aplusb*sin(theta))/lamda // order
+
+//Result
+printf("Maximum number of orders=%d",n)