Repeat Problem 16-18 with Z_1 = 20 + j12 Ω, Z_2 = 20 + j6 Ω, and Z_3 = 50 + j0 Ω.
Use MATLAB to perform the calculations.
clear all
Z1 = 20+12j;
Z2 = 20+6j;
Z3 = 50+0j;
Vs = 110;
disp('Part (a)')
% Find the current through each load
I1 = Vs/Z1;
I2 = Vs/Z2;
I3 = 2*Vs/Z3;
IA = I1+I3
IB = -I2-I3
IN = I2-I1
disp('Part (b)')
S1 = Vs*conj(IA)
S2 = Vs*conj(-IB)
Part (a)
IA =
8.4441e+000 - 2.4265e+000i
IB =
-9.4459e+000 + 1.5138e+000i
IN =
1.0018e+000 +912.7091e-003i
Part (b)
S1 =
928.8529e+000 +266.9118e+000i
S2 =
1.0390e+003 +166.5138e+000i
\begin{aligned}&\begin{aligned}& \text { (a) } \mathrm{I}_{\mathrm{A}}=8.4441-j 2.4265 \mathrm{~A} . \\& \mathrm{I}_{\mathrm{B}}=-9.4459+j 1.5138 \mathrm{~A} . \\& \mathrm{I}_{\mathrm{N}}=1.0018+j 0.9127 \mathrm{~A} .\end{aligned}\\ \\&\begin{aligned}& \text { (b) } S_1=928.85+j 266.91 \text { VA. } \\& S_2=1039+j 166.51 \text { VA. }\end{aligned}\end{aligned}