summaryrefslogtreecommitdiff
path: root/3773/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3773/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3773/CH3/EX3.4/Ex3_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3773/CH3/EX3.4/Ex3_4.sce b/3773/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..c9573ec49
--- /dev/null
+++ b/3773/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,17 @@
+//Chapter 3: The Antenna Family
+//Example 3-11.1
+clc;
+
+//Variable Initialization
+n = 4 //Number of patch antennas (lambda)
+diameter = 0.5 //Diameter of patch antennas (lambda)
+
+//Calculation
+A_e = n*diameter //Effective aperture (lambda^2)
+D = (4*%pi*A_e) //Directivity (unitless)
+D_dbi = 10*log10(D) //Directivity (dBi)
+ohm_a = (4*%pi)/D //Beam area (steradians)
+
+//Result
+mprintf("The directivity is %d or %d dBi",D,D_dbi)
+mprintf("\nThe beam area is %.1f sr", ohm_a)