Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Zadanie R26
- function U=R26
- E=5; w0=1e5; R1=500; R2=200; R3=250; L1=5e-3; L2=2e-3;
- C1=20e-9; C2=5e-9; a=2;
- Y1=1/(R1+1/(j*w0*C1));
- Y2=1/(R2+1/(j*w0*C2));
- Y3=1/R3+1/(j*w0*L2);
- Y4=1/(j*w0*L1);
- Yn=[Y1+Y2+Y4+a*Y4 -Y2-Y4-a*Y4
- -Y2-Y4 Y2+Y3+Y4];
- In=[E*Y1;0];
- Un=Yn\In;
- U=Un(2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement