Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dla 1 i(t)
- w = 2 * pi * 50;
- R = 10;
- C1 = 0.0005;
- C2 = 0.0009;
- C3 = 0.0012;
- m = 1000;
- n = 0.001;
- T = R*C1;
- t = 0:T/n:m;
- it = 1/R * exp(-t*T);
- plot(t,it,'b');
- hold on
- T = R*C2;
- t = 0:T/n:m;
- it2 = 1/R * exp(-t*T);
- plot(t,it2,'r--');
- hold on
- T = R*C3;
- t = 0:T/n:m;
- it3 = 1/R * exp(-t*T);
- plot(t,it3,'g:');
- legend('C1 : 5 nmu F' ,'C2 : 9 nmu F' ,'C3 : 12 nmu F');
- xlabel('t');
- ylabel('i(t)');
- hold off
- dla 1 Ur(t)
- w = 2 * pi * 50;
- R = 10;
- C1 = 0.0005;
- C2 = 0.0009;
- C3 = 0.0012;
- m = 1000;
- n = 0.001;
- T = R*C1;
- t = 0:T/n:m;
- ur = exp(-t*T);
- plot(t,ur,'b');
- hold on
- T = R*C2;
- t = 0:T/n:m;
- ur2 = exp(-t*T);
- plot(t,ur2,'r--');
- hold on
- T = R*C3;
- t = 0:T/n:m;
- ur3 = exp(-t*T);
- plot(t,ur3,'g:');
- legend('C1 : 5 nmu F' ,'C2 : 9 nmu F' ,'C3 : 12 nmu F');
- xlabel('t');
- ylabel('i(t)');
- hold off
- dla 1 Uc(t)
- w = 2 * pi * 50;
- R = 10;
- C1 = 0.0005;
- C2 = 0.0009;
- C3 = 0.0012;
- m = 1000;
- n = 0.001;
- T = R*C1;
- t = 0:T/n:m;
- uc = 1 - exp(-t*T);
- plot(t,uc,'b');
- hold on
- T = R*C2;
- t = 0:T/n:m;
- uc2 = 1 - exp(-t*T);
- plot(t,uc2,'r--');
- hold on
- T = R*C3;
- t = 0:T/n:m;
- uc3 = 1 - exp(-t*T);
- plot(t,uc3,'g:');
- legend('C1 : 5 nmu F' ,'C2 : 9 nmu F' ,'C3 : 12 nmu F');
- xlabel('t');
- ylabel('U_{C}(t)');
- hold off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement