2. If the current in 3 mF capacitor is i(t) = e ^ t * sin 3t. Plot a graph of the current vs time. Is it true this coding for this question?

1 vue (au cours des 30 derniers jours)
clear;clc;
t=0:10;
f=exp(t).*sin(3*t);
diff (f)
ans = 1×10
1.0e+04 * 0.0000 -0.0002 0.0010 -0.0038 0.0126 -0.0399 0.1220 -0.3617 1.0449 -2.9512
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
c=0.003;
I=c*diff(f);
figure;
plot(1:10,I);
grid;
xlabel('time');
ylabel('current');
title('current vs time');
  2 commentaires
David Goodmanson
David Goodmanson le 16 Mai 2022
Hi Muhammed, they are providing a current and asking you to plot it. No need for diff.
Walter Roberson
Walter Roberson le 16 Déc 2024
would you please help me to my project is related to this question.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by