You are on page 1of 1

clc;

z1 = 0.02343+0.2896i;
y1 = 3.954e-6i;
a = 40;
b = 500;
zcarga = 533+400i;
V = 500;
% menos de 80 km
zlmenor_80 = z1*a
zeqmenor_80 = zlmenor_80+zcarga
I1menor_80 = V/(zeqmenor_80)
Vcaidamenor_80 = (zcarga)*I1menor_80
%exacto
zc = sqrt(z1/y1)
nu = sqrt(z1*y1)
zl = zc*sinh(nu*a)
ylsobre2 = (1/zc)*tanh(nu*40/2)
zeq1 = (zcarga*(1/ylsobre2))/ (zcarga+(1/ylsobre2));
zeq2 = (zeq1+zl);
zeq3 = ((zeq2*(1/ylsobre2))/ (zeq2+(1/ylsobre2)))
I1exacto = V/zeq3
I2exacto = I1exacto-(V/(1/ylsobre2))
I3exacto = V/(1/ylsobre2)
V1exacto = V-(zl*I2exacto)