diff options
Diffstat (limited to '2219/CH1')
-rwxr-xr-x | 2219/CH1/EX1.1/Ex1_1.sce | 18 | ||||
-rwxr-xr-x | 2219/CH1/EX1.2/Ex1_2.sce | 14 |
2 files changed, 32 insertions, 0 deletions
diff --git a/2219/CH1/EX1.1/Ex1_1.sce b/2219/CH1/EX1.1/Ex1_1.sce new file mode 100755 index 000000000..7ccbb0d06 --- /dev/null +++ b/2219/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,18 @@ +// Chapter 1 example 1
+//------------------------------------------------------------------------------
+clc;
+clear;
+
+// Given data
+R = 1.2; // ratio of free space wavelength of a microwave signal to its wavelength when prop. through a dielectric medium
+
+// Calculations
+// lamda = lamda0/sqrt(er);
+// er = (lamda0/lamda)^2;
+// let lamda0/lamda = R
+
+er = (R)^2; // Dielectric constant of medium
+
+// Output
+mprintf('The Dielectric constant of medium = %3.2f',er );
+//------------------------------------------------------------------------------
diff --git a/2219/CH1/EX1.2/Ex1_2.sce b/2219/CH1/EX1.2/Ex1_2.sce new file mode 100755 index 000000000..b5906cda2 --- /dev/null +++ b/2219/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,14 @@ +// Chapter 1 example 2
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+Rmax = 112; // Max permissable range in Kms
+H1 = 256; // Ht of the antenna in m
+// Calculations
+// Rmax = 4(sqrt(H1) + sqrt(H2));
+// H2 = ((Rmax/4)-sqrt(H1))^2;
+H2 = ((Rmax/4)-sqrt(H1))^2; // Ht of other antenna
+// Output
+mprintf('Height of other antenna = %d m',H2);
+//------------------------------------------------------------------------------
|