summaryrefslogtreecommitdiff
path: root/728/CH3/EX3.8/Ex3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '728/CH3/EX3.8/Ex3_8.sce')
-rwxr-xr-x728/CH3/EX3.8/Ex3_8.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/728/CH3/EX3.8/Ex3_8.sce b/728/CH3/EX3.8/Ex3_8.sce
new file mode 100755
index 000000000..dd261e896
--- /dev/null
+++ b/728/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,24 @@
+//Caption:Determine:(a)VSWR; (b)Position of 1st Vmin & Vmax; (c)Vmin & Vmax; (d)Impedance at Vmin & Vmax.
+//Exa: 3.8
+clc;
+clear;
+close;
+Z_o=50;//in ohms
+Z_l=100;//in ohms
+f=300*10^3;//in Hz
+P_l=50*10^-3;//in watts
+wl=(3*10^8)/f;
+p=(Z_l-Z_o)/(Z_l+Z_o);
+S=(1+abs(p))/(1-abs(p));
+disp(S,"VSWR =");
+//Since real Zl > Zo ,
+pos=wl/4;
+disp("First Vmax is located --->at the load ");
+disp("First Vmin is located at --->(wavelength/4)= ");
+disp(pos,"(in meters)");
+V_max=(P_l*Z_l)^0.5;
+V_min=V_max/S;
+disp(V_max,"Vmax (in volts) =");
+disp(V_min,"Vmin (in volts) =");
+disp(Z_o/S,"Zin at Vmin (in ohms) =:");
+disp(Z_o*S,"Zin at Vmax (in ohms) ="); \ No newline at end of file