summaryrefslogtreecommitdiff
path: root/2219/CH7/EX7.6/Ex7_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH7/EX7.6/Ex7_6.sce')
-rwxr-xr-x2219/CH7/EX7.6/Ex7_6.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2219/CH7/EX7.6/Ex7_6.sce b/2219/CH7/EX7.6/Ex7_6.sce
new file mode 100755
index 000000000..9487ac5fb
--- /dev/null
+++ b/2219/CH7/EX7.6/Ex7_6.sce
@@ -0,0 +1,25 @@
+// chapter 7 example 6
+//-----------------------------------------------------------------------------
+clc;
+clear;
+// given data
+D = 3; // diameter of the antenna in m
+n_l = 0.7; // length efficiency
+nr = 0.9; // radiation efficiency
+f = 10*10^9; // antenna operating freq.
+c = 3*10^8; // vel of EM waves in m/s
+
+// calculations
+def = D*n_l // Effective diameter
+lamda = c/f // wavelength in m
+Beam_w = lamda/def // beamwidth in radian
+Beam_w_d= Beam_w*180/%pi; // beam width in degree;
+n_a = n_l * n_l; // Aperture efficiency
+AA = (%pi*D*D)/4; // actual area in sq m
+Ae = AA*n_a; // Effective aperture
+G = (4*%pi*Ae)/(lamda^2); // Gain
+G_db = 10*log10(G);
+
+// Output
+mprintf('Beam Width = %3.2f degrees\n Effective Aperture = %3.2fsq m\n Gain = %3.1f dB',Beam_w_d,Ae,G_db);
+//-------------------------------------------------------------------------------