summaryrefslogtreecommitdiff
path: root/3773/CH11/EX11.2
diff options
context:
space:
mode:
Diffstat (limited to '3773/CH11/EX11.2')
-rw-r--r--3773/CH11/EX11.2/Ex11_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3773/CH11/EX11.2/Ex11_2.sce b/3773/CH11/EX11.2/Ex11_2.sce
new file mode 100644
index 000000000..943316882
--- /dev/null
+++ b/3773/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,19 @@
+//Chapter 11: Broadband and Frequency-Independent Antennas
+//Example 11-7.1
+clc;
+
+//Variable Initialization
+gain_dbi = 7.0 //Gain (dBi)
+bandwidth = 4 //Relative bandwidth (unitless)
+s_lambda = 0.15 //Spacing (lambda)
+k = 1.2 //Scale constant (unitless)
+
+//Calculation
+alpha = atan((1-1/k)/(4*s_lambda))*180/%pi //Apex angle (degrees)
+n = round(log(bandwidth)/log(k)) //Number of elements(unitless)
+n =n + 1
+n =n + 2 //Number of elements considering conservative design (unitless)
+
+//Result
+mprintf("The apex angle is %.1f degrees",alpha)
+mprintf("\nThe number of elements is %d", n)