11.
Io=1 ; B=1
format long
T=0:0.0002:10;
i=1;
b=1;
i1=i.*exp(-T);
i2=b.*(1-exp(-T));
I=i1+i2;
plot(T,i1,'-.r',T,i2,'--b',T,I,'y')
title('Corriente I(t): Io=1;B=1 ')
xlabel('Tiempo(s)')
ylabel('Corriente
(A)')
2.
1. I0=1 ; B=2
format long
T=0:0.0002:10;
i=1;
b=2;
i1=i.*exp(-T);
i2=b.*(1-exp(-T));
I=i1+i2;
plot(T,i1,'-.r',T,i2,'--b',T,I,'y')
title('Corriente I(t): Io=1;B=2 ')
xlabel('Tiempo(s)')
ylabel('Corriente (A)')
3.
1.
Io=0 ; B=1
format long
T=0:0.0002:10;
i=0;
b=1;
i1=i.*exp(-T);
i2=b.*(1-exp(-T));
I=i1+i2;
plot(T,i1,'-.r',T,i2,'--b',T,I,'y')
title('Corriente I(t): Io=0;B=1 ')
xlabel('Tiempo(s)')
ylabel('Corriente (A)')
4.
1.
Io=0 ; B=2
format long
T=0:0.0002:10;
i=0;
b=2;
i1=i.*exp(-T);
i2=b.*(1-exp(-T));
I=i1+i2;
plot(T,i1,'-.r',T,i2,'--b',T,I,'y')
title('Corriente I(t): Io=1;B=2 ')
xlabel('Tiempo(s)')
ylabel('Corriente (A)')
No hay comentarios:
Publicar un comentario