summaryrefslogtreecommitdiff
path: root/2219/CH3/EX3.12/Ex3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH3/EX3.12/Ex3_12.sce')
-rwxr-xr-x2219/CH3/EX3.12/Ex3_12.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2219/CH3/EX3.12/Ex3_12.sce b/2219/CH3/EX3.12/Ex3_12.sce
new file mode 100755
index 000000000..8f180b101
--- /dev/null
+++ b/2219/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,21 @@
+// Chapter 3 example 12
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+a = 4*10^-2; // width of waveguide
+b = 2*10^-2 // narrow dimension of waveguide
+er = 4; // dielectric constant
+c = 3*10^8 // velocity in m/s
+
+// Calculations
+lamda_c = 2*a; // max cut-off wavelength
+fcmin = c/lamda_c // min freq
+lamda_d = lamda_c/sqrt(er); // wavelength if we insert dielectric
+fc = c/lamda_d // min frequency in presence of dielectric
+
+// Output
+mprintf('Minimum Frequency that can be passed with dielectric in waveguide is %3.1f Ghz',fc/10^9);
+//-------------------------------------------------------------------------------
+
+