We will solve this 3 ways, since it has a constant voltage source:
1 and 2: Solving the DE in q, as:
3. Using the formulae
and ![]()
![]()
From the formula:
, we obtain:
![]()
On substituting, we have:

We can solve this DE 2 ways, since it is variables separable or we could do it as a linear DE. The algebra is easier if we do it as a linear DE.
Solving this differential equation as a linear DE, we have:
IF = ![]()
So ![]()
So ![]()
Now, since
, (that is, when
,
) this gives: ![]()
So ![]()

As
,
C.
Now,

For comparison, here is the solution of the DE using variables separable:

Since
,
, we have ![]()
So

We use the formulae
and
.
Now ![]()
So:


Now

From here, we use
and obtain: ![]()
So
, as before. Also, as
,
C.