ts=input('Digite el tiempo de simulacion >>') t=[0:p:ts]; t' x(1)=4; y(1)=0; z(1)=0; w(1)=.5; %c=contador c=2; while (c<=length(t)) if (c==2) x(2)=x(1)+z(1)*p; y(2)=y(1)+w(1)*p; w(2)=w(1)-(y(1)/(x(1)^2+y(1)^2)^(3/2))*p; z(2)=z(1)-(x(1)/(x(1)^2+y(1)^2)^(3/2))*p; end else disp('ya') end c=c+1; end http://inggilberto.com/TRANSFORMADORESTRIFASICOS.htm http://ejercicioscircuitoselectricos.blogspot.com/2009/01/solucionario-sadiku-3r a-edicion.html