summaryrefslogtreecommitdiff
path: root/3773/CH2/EX2.10/Ex2_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3773/CH2/EX2.10/Ex2_10.sce')
-rw-r--r--3773/CH2/EX2.10/Ex2_10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3773/CH2/EX2.10/Ex2_10.sce b/3773/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..c20129b66
--- /dev/null
+++ b/3773/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,14 @@
+//Chapter 2: Antenna Basics
+//Example 2-16.1
+clc;
+
+//Variable Initialization
+E1 = 3 //Magnitude of electric field in x direction (V/m)
+E2 = 6 //Magnitude of electric field in y direction (V/m)
+Z = 377 //Intrinsic impedance of free space (ohm)
+
+//Calculation
+avg_power = 0.5*(E1**2 + E2**2)/Z //Average power per unit area (W/m^2)
+
+//Result
+disp(avg_power,"The average power per unit area in watts/meter square")