NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

function La5Lewandowski_iRL(R,X,U,psi)
% funkcja iRL(R,X,U,psi)
% wyprowadza przebiegi czasowe pradu nieustalonego w obwodzie RL
% po zamknieciu wylacznika
imie = 'Przemyslaw';
nazwisko = 'Lewandowski';
album = '249857';
albumNum = str2num(album);
sumaAlbum = 0;
while(albumNum > 0)
sumaAlbum = sumaAlbum + mod(albumNum,10);
albumNum=(albumNum-mod(albumNum,10))/10;
end
a = length(imie) + length(nazwisko) + sumaAlbum;
disp("Nazwa: "+imie+" "+nazwisko);
disp("a = "+a);
if nargin < 4
psi = 0; % kat nap. psi w stopniach
end
if nargin < 3
U = 200+a; % wartosc skuteczna napiecia zasilajca obwod, V
end
if nargin < 2
X = a; % reaktancja obwodu, ohm
end
if nargin < 1
R = a; % rezystancja obwodu, ohm
end
Um = sqrt(2)*U; % amplituda nap. zasilajacego
Z = sqrt(R^2+X^2); % impedancja pozorna obwodu
fi = atan(X/R); % kat impedancji
psi=psi/180*psi; % przeliczenie kata poczatkowego napiecia na radiany
f = 50; % czestotliwosc napiecia , Hz
w = 2*pi*f; % czestosc napiecia
L = X/w; % indukcyjnosc obwodu
tau = L/R; %stala zanikania
disp('Parametry obwodu:');
disp(' R= '),disp(R);
disp(' X= '),disp(X);
disp(' Z= '),disp(Z);
disp(' tau='),disp(tau);
disp(' U= '),disp(U);
disp(' psi= '),disp(psi);
disp(' fi = '),disp(fi);
% WYZNACZANIE PRZEBIEGU NIEUSTALONEGO PRADU
Tmax = 0.2 ; % max czas analizy
T = 0:0.002:Tmax; % przedzial czasu analizy od 0 do 1 sekundy
nT=length(T); % liczba punktow czasowych
p0 = zeros(1,nT); % os zerowa
Im = Um/Z; % amplituda pradu
iAC = Um/Z * sin(w.*T + psi - fi); % skladowa okresowa
iDC = - Um/Z*exp(-T./tau)*sin(psi-fi); %skladowa nieokresowa
iRL = iAC + iDC;
plot(T,iAC,'-b', T,p0,'-r');
title("psi = "+psi+", U = "+U+", R = "+R+", X = "+X), title(imie+" "+nazwisko+", "+album+", "+a+", grupa A, godz. 14.30-16.00 wykres: iAC");
xlabel('t,s'); ylabel('A');
axis normal; grid on;
pause(2);close; % pauza/zamkniecie
plot(T,iDC,'--g', T, p0,'-r');
title("psi = "+psi+", U = "+U+", R = "+R+", X = "+X), title(imie+" "+nazwisko+", "+album+", "+a+", grupa A, godz. 14.30-16.00 wykres: iDC");
xlabel('t,s'); ylabel('A');
axis normal; grid on;
pause(2);close; % pauza/zamkniecie
plot(T,iRL,'-k', T, p0,'-r');
title("psi = "+psi+", U = "+U+", R = "+R+", X = "+X), title(imie+" "+nazwisko+", "+album+", "+a+", grupa A, godz. 14.30-16.00 wykres: iRL");
xlabel('t,s'); ylabel('A');
axis normal; grid on;
pause(2);close; % pauza/zamkniecie
plot(T,iRL,'-k',T,iAC,'-b',T,iDC,'--g', T,p0,'-r');
xlabel('t,s'); ylabel('A');
title(imie+" "+nazwisko+", "+album+", grupa A, godz. 14.30-16.00");
title("a = "+a);
title("psi = "+psi+", U = "+U+", R = "+R+", X = "+X);
title(imie+" "+nazwisko+", "+album+", "+a+", grupa A, godz. 14.30-16.00 wykres: iRL(t), iAC(t), iDC(t)");
axis normal; grid on;
pause(2);close; % pauza/zamkniecie
disp('KONIEC wyprowadzania przebiegow pradu w obwodzie RL');
end
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.