diff options
Diffstat (limited to '2219/CH4/EX4.9/Ex4_9.sce')
-rwxr-xr-x | 2219/CH4/EX4.9/Ex4_9.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2219/CH4/EX4.9/Ex4_9.sce b/2219/CH4/EX4.9/Ex4_9.sce new file mode 100755 index 000000000..94fc4d486 --- /dev/null +++ b/2219/CH4/EX4.9/Ex4_9.sce @@ -0,0 +1,23 @@ +// chapter 4 example 9
+//-----------------------------------------------------------------------------
+// Note : some data from is problem is taken from Ex4.8
+clc;
+clear;
+// given data
+a = 4; // width in cm
+b = 2; // Height in cm
+c = 3*10^10; // vel in free space in cm/s
+fo = 6*10^9; // resonator frequency in Ghz
+d = 3.2; // length of cavity resonator in cm
+// For TE101 mode
+m = 1
+n = 0;
+
+// Calculations
+lamda_c = 2/sqrt((m/a)^2 + (n/b)^2); // cut-off wavelength in m
+lamda = c/fo; // operating wavelength in m
+lamda_g = lamda/sqrt(1 - (lamda/lamda_c)^2) // guide wavelength in m
+
+mprintf('Length of resonator is %3.1f cm and guide wavelength is %3.1f cm',d,lamda_g);
+mprintf('\n length of resonator is half of guide wavelength');
+//------------------------------------------------------------------------------
|