diff options
Diffstat (limited to '2219/CH3/EX3.6/Ex3_6.sce')
-rwxr-xr-x | 2219/CH3/EX3.6/Ex3_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2219/CH3/EX3.6/Ex3_6.sce b/2219/CH3/EX3.6/Ex3_6.sce new file mode 100755 index 000000000..f2d530100 --- /dev/null +++ b/2219/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,19 @@ +// Chapter 3 example 6
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+c = 3*10^8; // velocity in m/s
+f = 100*10^6 // operating frequency in hz
+Zin = 100;
+Zl = 25;
+
+// Calculations
+
+lamda = c/f // wavelength in m
+Lreq = lamda/4; // required length in m
+Zo = sqrt(Zin*Zl); // charecteristic impedance in ohm
+
+// Output
+mprintf('Length of line required = %d cm\n Charecteristic impedance = %d ohm',Lreq*10^2,Zo);
+//------------------------------------------------------------------------------
|