Advertisement
Guest User

R26

a guest
May 24th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.30 KB | None | 0 0
  1. // Zadanie R26
  2. function U=R26
  3.   E=5; w0=1e5; R1=500; R2=200; R3=250; L1=5e-3; L2=2e-3;
  4.   C1=20e-9; C2=5e-9; a=2;
  5.   Y1=1/(R1+1/(j*w0*C1));
  6.   Y2=1/(R2+1/(j*w0*C2));
  7.   Y3=1/R3+1/(j*w0*L2);
  8.   Y4=1/(j*w0*L1);
  9.   Yn=[Y1+Y2+Y4+a*Y4 -Y2-Y4-a*Y4
  10.       -Y2-Y4 Y2+Y3+Y4];
  11.   In=[E*Y1;0];
  12.   Un=Yn\In;
  13.   U=Un(2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement