summaryrefslogtreecommitdiff
path: root/2219/CH3/EX3.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH3/EX3.9/Ex3_9.sce')
-rwxr-xr-x2219/CH3/EX3.9/Ex3_9.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2219/CH3/EX3.9/Ex3_9.sce b/2219/CH3/EX3.9/Ex3_9.sce
new file mode 100755
index 000000000..060e9a93d
--- /dev/null
+++ b/2219/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,20 @@
+// Chapter 3 example 9
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+VSWR = 3; // voltage standing wave ratio
+d = 20*10^-2 // separation b/w 2 successive minimas
+er = 2.25; // dielectric constant
+v = 3*10^8; // velocity in m/s
+
+// Calculations
+// VSWR = (1 + p)/(1 - p)
+p = (VSWR -1)/(VSWR + 1); // reflection co-efficient
+lamda = 2*d; // wavelength of tx line
+lamda_fr= lamda*sqrt(er); // free space wavelength
+f = v/lamda_fr; // operating frequency in Hz
+
+// output
+mprintf('Magnitude of Reflection Co-efficient = %3.1f\n Frequency of Operation = %3.0f Mhz',p,f/10^6);
+//------------------------------------------------------------------------------