diff options
Diffstat (limited to '3773/CH2/EX2.9/Ex2_9.sce')
-rw-r--r-- | 3773/CH2/EX2.9/Ex2_9.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3773/CH2/EX2.9/Ex2_9.sce b/3773/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..51a3d246c --- /dev/null +++ b/3773/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,18 @@ +//Chapter 2: Antenna Basics +//Example 2-11.1 +clc; + +//Variable Initialization +P_t = 15 //Transmitter power (W) +A_et = 2.5 //Effective aperture of transmitter (meter^2) +A_er = 0.5 //Effective aperture of receiver (meter^2) +r = 15e3 //Distance between the antennas (Line of sight) (m) +frequency = 5e9 //Frequency (Hz) +c = 3e8 //Speed of light (m/s) + +//Calculation +wave_len = c/frequency //Wavelength (m) +P_r = (P_t*A_et*A_er)/((r**2)*(wave_len**2)) //Received power (W) + +//Result +mprintf("The power delivered to the receiver is %.2e watts",P_r) |