diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3773/CH4/EX4.5 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3773/CH4/EX4.5')
-rw-r--r-- | 3773/CH4/EX4.5/Ex4_5.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/3773/CH4/EX4.5/Ex4_5.sce b/3773/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..fd3200079 --- /dev/null +++ b/3773/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,28 @@ +//Chapter 4: Radiation +//Example 4-5.2 +clc; + +//Variable Initialization +L = 5 //Length of radiating element (m) +f1 = 30e3 //Frequency (Hz) +f2 = 30e6 //Frequency (Hz) +f3 = 15e6 //Frequency (Hz) +c = 3e8 //Velocity of light (m/s) + +//Calculation +wave_lt1 = c/f1 //Wavelength (m) +wave_lt1 = wave_lt1 /10 +R_r1 = 800*(L/wave_lt1)**2 //Radiation resistance (ohm) + +wave_lt2 = c/f2 //Wavelength (m) +L = wave_lt2/2 //Effective length (m) +R_r2 = 200*(L/wave_lt2)**2 //Radiation resistance (ohm) + +wave_lt3 = c/f3 //Wavelength (m) +L = wave_lt3/4 //Effective length (m) +R_r3 = 400*(L/wave_lt3)**2 //Radiation resistance (ohm) + +//Result +mprintf("The radiation resistance for f1 is %.2f ohms", R_r1) +mprintf("\nThe radiation resistance for f2 is %d ohms",R_r2) +mprintf("\nThe radiation resistance for f3 is %d ohms",R_r3) |