planck42
- 82
- 0
Homework Statement
Solve the differential equation R\frac{dq}{dt} + \frac{q}{C} = v_0
R is resistance, q is charge, t is time, C is capacitance, and v_0 is the EMF of the power supply.
Homework Equations
First-order linear differential equation solving method
The Attempt at a Solution
This is a first-order linear differential equation, so let's apply the standard steps to solve it. First, I calculated the integrating factor to be e^{\frac{t}{RC}}. Upon multiplying through by this factor and integrating, I got \frac{dq}{dt}e^{\frac{t}{RC}} + qe^{\frac{t}{RC}} on the left side, and \int{\frac{v_0}{R}e^{\frac{t}{RC}} on the right side. This integrates to v_{0}Ce^{\frac{t}{RC}}, neglecting the arbitrary constant. So qe^{\frac{t}{RC}}=v_{0}Ce^{\frac{t}{RC}}, which simplifies to q=v_{0}C, an unsurprising but disappointing result since I'm trying to find q in terms of time. Perhaps there is something wrong with one of my steps? This has been bugging me for quite some time and I would appreciate a kick in the right direction.