photo

Light


Active since 2013

Followers: 0   Following: 0

Message

1st Iteartion: S12t=6+2*1i; S01t=10+5*1i; U12=110;
R12 = 16.2+24*1i; U0=115; dU01=110;
R01= 15.75+31.2*1i; dx01=106.125;
dx12=81; U20=10; e=0.01;
dQ12=dx12*dU01.^2*10.^-6;
S12i=S12t-complex(0,dQ12);
DS12 =((real(S12i).^2+imag(S12i).^2)/U12.^2)*R12;
S12ii=DS12+S12i;
S12e=S12ii-complex(0,dQ12);
S01i=S12e+S01t;
dQ01=dx01*dU01.^2*10.^-6;
S01ii=S01i-complex(0,dQ01);
DS01=((real(S01ii).^2+imag(S01ii).^2)/U12.^2)*R01;
dQ01i=dx01*U0.^2*10.^-6;
S01ii2=S01ii+DS01;
S01iii=S01ii2-complex(0,dQ01i);
dU01i=(real(S01ii2)*real(R01)+imag(S01ii2)*imag(R01))./U0;
dU01ii=(real(S01ii2)*imag(R01)-imag(S01ii2)*real(R01))./U0;
U1=sqrt((U0-dU01i).^2+dU01ii.^2);
dU12i=(real(S12ii)*real(R12)+imag(S12ii)*imag(R12))./U1;
dU12ii=(real(S12ii)*imag(R12)-imag(S12ii)*real(R12))./U1;
U2=sqrt((U1-dU12i).^2+dU12ii.^2);
And i want it continue to next iteration.
continue it if U0-(max of U1 U2)>e
end it if U0-(max of U1 U2)

Please login to endorse this person in a skill

No Endorsements received
MATLAB Graphic