summaryrefslogtreecommitdiff
path: root/3773/CH15/EX15.6/Ex15_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3773/CH15/EX15.6/Ex15_6.sce')
-rw-r--r--3773/CH15/EX15.6/Ex15_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3773/CH15/EX15.6/Ex15_6.sce b/3773/CH15/EX15.6/Ex15_6.sce
new file mode 100644
index 000000000..599d34322
--- /dev/null
+++ b/3773/CH15/EX15.6/Ex15_6.sce
@@ -0,0 +1,13 @@
+//Chapter 15: Antennas for Special Applications
+//Example 15-13.3
+clc;
+
+//Variable Initialization
+lambda_g = 1.5 //Wavelength in guide (lambda)
+m = -1 //Mode number
+
+//Calculation
+phi = acos((1/lambda_g)+m)*180/%pi //Forward tilt angle (degrees)
+
+//Result
+mprintf("The beam angle is %.1f degrees",phi)