diff options
Diffstat (limited to '2219/CH1/EX1.1/Ex1_1.sce')
-rwxr-xr-x | 2219/CH1/EX1.1/Ex1_1.sce | 18 |
1 files changed, 18 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 );
+//------------------------------------------------------------------------------
|