• API
• FAQ
• Tools
• Archive
SHARE
TWEET Untitled a guest May 22nd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. w = 2 * pi * 50
2. R = 5
3. C1 = 0.0005
4. C2 = 0.0009
5. C3 = 0.0011
6. m = 50
7. n = 100
8. U = 1
9. T = R*C1
10. t = 0:T/n:m*2*C3
11. A = asin(w/(sqrt((1/T)ˆ2 +2))) ;
12. it = U/R *(1/(sqrt(1+(w*T)ˆ2))) * (-exp(-t/T) * sin(A) + cos(w*t-A)*w*T);
13. plot(t,it)
14. hold on
15. T = R*C2
16. t = 0:T/n:m*2*C3
17. A = asin(w/(sqrt((1/T)ˆ2 +2)));
18. it2 = U/R * (1/(sqrt(1+(w*T)ˆ2))) * (-exp(-t/T) * sin(A) + cos(w*t - A) *w*T);
19. plot (t,it2,'r - - ')
20. hold on
21. T = R*C3
22. t = 0:T/n:m*2*C3
23. A = asin(w/(sqrt((1/T)ˆ2 +2)));
24. it3 = U/R * (1/(sqrt(1+(w*T)ˆ2)))*(-exp(-t/T) * sin(A) + cos(w*t - A)*w*T);
25. plot(t, it3, 'g: ')
26. legend('C1 : 5 nmu F' ,'C2 : 9 nmu F' ,'C3 : 11 nmu F' ,1);
27. xlabel('t');
28. ylabel('i(t)');
29. hold off
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top