diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2219/CH3/EX3.22 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2219/CH3/EX3.22')
-rwxr-xr-x | 2219/CH3/EX3.22/Ex3_22.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2219/CH3/EX3.22/Ex3_22.sce b/2219/CH3/EX3.22/Ex3_22.sce new file mode 100755 index 000000000..8cc6eaef1 --- /dev/null +++ b/2219/CH3/EX3.22/Ex3_22.sce @@ -0,0 +1,21 @@ +// Chapter 3 example 22
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+er = 9; // relative permittivity
+c = 3*10^10; // velocity of EM wave in free space
+f = 2*10^9; // operating frequency in Ghz
+a = 7; // width of waveguide in cm
+b = 3.5; // narrow dimension of waveguide in cm
+
+// calculations
+lamda_c = 2*a; // cut-off wavelength in dominant mode
+fc = c/lamda_c // cut-off frequency in Hz
+lamda = c/(sqrt(er)*f); // operating wavelength
+lamda_g = lamda/(sqrt(1 - (lamda/lamda_c)^2)) // guide wavelength
+Vp = (lamda_g/lamda)*c
+
+// Output
+mprintf('Cut-off frequency = %3.3f Ghz\n Phase velocity = %3.2e m/s\n Guide wavelength = %3.2f cm',fc/10^9,Vp/10^2,lamda_g);
+//------------------------------------------------------------------------------
|