diff options
Diffstat (limited to '728/CH3/EX3.5')
-rwxr-xr-x | 728/CH3/EX3.5/Ex3_5.sce | 17 | ||||
-rwxr-xr-x | 728/CH3/EX3.5/Ex3_5.txt | 20 | ||||
-rwxr-xr-x | 728/CH3/EX3.5/Ex3_5_ans.txt | 16 |
3 files changed, 53 insertions, 0 deletions
diff --git a/728/CH3/EX3.5/Ex3_5.sce b/728/CH3/EX3.5/Ex3_5.sce new file mode 100755 index 000000000..75613a3ca --- /dev/null +++ b/728/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,17 @@ +//Caption:Calculate VSWR & reflection coefficient.
+//Exa: 3.5
+clc;
+clear;
+close;
+Z_o=50;//in ohms
+f=300*10^6;//in Hz
+Z_l=50+%i*50;//in ohms
+wl=(3*10^8)/f;//wavelength(in meters)
+P=[(Z_l-Z_o)/(Z_l+Z_o)];
+P_mag={(real(P)^2)+(imag(P)^2)}^0.5;
+P_ang=atan(imag(P)/real(P))*180/%pi;//in degrees
+S={1+P_mag}/{1-P_mag};
+disp(P,"Reflection coefficient =");
+disp(P_mag,"Magnitude of reflection coeffcient =");
+disp(P_ang,"Angle (in degree) =");
+disp(S,"VSWR =");
\ No newline at end of file diff --git a/728/CH3/EX3.5/Ex3_5.txt b/728/CH3/EX3.5/Ex3_5.txt new file mode 100755 index 000000000..b822a5976 --- /dev/null +++ b/728/CH3/EX3.5/Ex3_5.txt @@ -0,0 +1,20 @@ +//Caption:Calculate VSWR & reflection coefficient.
+//Exa: 3.5
+clc;
+clear;
+close;
+Z_o=50;//in ohms
+f=300*10^6;//in Hz
+Z_l=50+%i*50;//in ohms
+wl=(3*10^8)/f;//wavelength(in meters)
+P=[(Z_l-Z_o)/(Z_l+Z_o)];
+P_mag={(real(P)^2)+(imag(P)^2)}^0.5;
+P_ang=atan(imag(P)/real(P))*180/%pi;//in degrees
+S={1+P_mag}/{1-P_mag};
+disp(P,"Reflection coefficient =");
+disp(P_mag,"Magnitude of reflection coeffcient =");
+disp(P_ang,"Angle (in degree) =");
+disp(S,"VSWR =");
+
+
+
diff --git a/728/CH3/EX3.5/Ex3_5_ans.txt b/728/CH3/EX3.5/Ex3_5_ans.txt new file mode 100755 index 000000000..98df14638 --- /dev/null +++ b/728/CH3/EX3.5/Ex3_5_ans.txt @@ -0,0 +1,16 @@ +Reflection coefficient =
+
+ 0.2 + 0.4i
+
+ Magnitude of reflection coeffcient =
+
+ 0.4472136
+
+ Angle (in degree) =
+
+ 63.434949
+
+ VSWR =
+
+ 2.618034
+
|