A simple electric circuit consisting of a resistor, a capacitor, and an inductor is depicted in Fig.

Question:

A simple electric circuit consisting of a resistor, a capacitor, and an inductor is depicted in Fig. P2.6. The charge on the capacitor q(t) as a function of time can be computed as

where t = time, q= the initial charge, R = the resistance, L = inductance, and C = capacitance. Use MATLAB to generate a plot of this function from t = 0 to 0.8, given that q= 10, R = 60, L = 9, and C = 0.00005.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: