summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.22/Ex1_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.22/Ex1_22.sce')
-rw-r--r--3537/CH1/EX1.22/Ex1_22.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3537/CH1/EX1.22/Ex1_22.sce b/3537/CH1/EX1.22/Ex1_22.sce
new file mode 100644
index 000000000..c78e08ef1
--- /dev/null
+++ b/3537/CH1/EX1.22/Ex1_22.sce
@@ -0,0 +1,9 @@
+//Example 1_22
+clc();
+clear;
+//To calculate the number of lines
+theta=18.233 //units in degrees
+n=1
+lamda=6.56*10^-7 //units in meters
+m=(0.02*sin(theta*%pi/180))/(n*lamda)
+printf("Number of lines M=%d",m)