summaryrefslogtreecommitdiff
path: root/2219/CH3/EX3.15/Ex3_15.sce
blob: e85a3808f0098b74f21942bf4d6fdcbadcfa51e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Chapter 3 example 15
//------------------------------------------------------------------------------
clc;
clear;
// Given data
a   = 4*10^-2;      // width of waveguide
b   = 2*10^-2;      // narrow dimension of waveguide
c   = 3*10^8;       // velocity of EM wave in m/s
m1  = 1;            // for TE10
m2  = 2;            // for TE20
n   = 0;            // for TE10
// Calculations
lamda_c     = 2*a       // cutoff wavelength for TE10 mode
f1          = c/lamda_c // frequency in Hz
// the frequency range for single mode operation is the range of frequencies corresponding to the dominant mode and the second highest cutoff wavelength
lamda_c_2   = 2/sqrt((m2/a)^2 + (n/b)^2)
f2          = c/lamda_c_2;   // freq at second largest cutoff wavelength

// Output
mprintf('Therefore,single mode operating range = %3.2f Ghz to %3.1f Ghz\n',f1/10^9,f2/10^9 );
mprintf(' Note: instead of 3.75,3.5 is printed in textbook');
//------------------------------------------------------------------------------