2
% A corrente através de um indutor de 2,5mH é a senóide amortecida % i(t)=10e^(-500) sen2000t. Trace os gráficos das formas de onda de % corrente, tensão, potência e energia do elemento. % Cria variável simbólica syms t iL vL pL wL real %Cria o sinal de corrente do indutor iL=10*exp(-500*t)*sin(2000*t); % Define Indutância L = 0.0025; % Calcula a tensão, potência e energia vL = 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 tempo tt = 0:0.00001:0.004; % Substitui o vetor de tempo na expressão simbólica iLtt = subs(iL, t, tt); vLtt = subs(vL, t, tt); pLtt = subs(pL, t, tt); wLtt = subs(wL, t, tt); % Traça o gráfico dos resultados usando a função subplot subplot(2,2,1) plot(tt,iLtt,'b', 'LineWidth',2); grid on ylabel('i_L(t), (A)') title('Corrente') subplot(2,2,2) plot(tt,vLtt,'b', 'LineWidth',2); grid on ylabel('v_L(t), (V)') title('Tensão') subplot(2,2,3) plot(tt,pLtt,'b', 'LineWidth',2); grid on

A Corrente Através de Um Indutor de 2mh

Embed Size (px)

DESCRIPTION

A Corrente Através de Um Indutor de 2mh

Citation preview

% 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')