Transcript

% A corrente atravs de um indutor de 2,5mH a senide amortecida % i(t)=10e^(-500) sen2000t. Trace os grficos das formas de onda de % corrente, tenso, potncia e energia do elemento. % Cria varivel simblicasyms t iL vL pL wL real %Cria o sinal de corrente do indutor iL=10*exp(-500*t)*sin(2000*t); % Define Indutncia L = 0.0025; % Calcula a tenso, potncia e energiavL = 2000*exp(-500*t)*cos(2000*t)-10000*exp(-500*t)*sin(2000*t);pL = iL*vL;wL = L*iL^2/2; % Cria o vetor de tempott = 0:0.00001:0.004; % Substitui o vetor de tempo na expresso simblicaiLtt = subs(iL, t, tt);vLtt = subs(vL, t, tt);pLtt = subs(pL, t, tt);wLtt = subs(wL, t, tt); % Traa o grfico dos resultados usando a funo subplotsubplot(2,2,1)plot(tt,iLtt,'b', 'LineWidth',2);grid onylabel('i_L(t), (A)')title('Corrente') subplot(2,2,2)plot(tt,vLtt,'b', 'LineWidth',2);grid onylabel('v_L(t), (V)')title('Tenso') subplot(2,2,3)plot(tt,pLtt,'b', 'LineWidth',2);grid onxlabel('Tempo, (s)')ylabel('p_L(t), (W)')title('Potncia') subplot(2,2,4)plot(tt,wLtt,'b', 'LineWidth',2);grid onxlabel('Tempo, (s)')ylabel('p_L(t), (J)')title('Energia')


Recommended