Let's write v=vC for short, and
Rewriting, we get the differential equation
(for t>0):
Let's solve this differential equation.
There are many ways of doing this, and you may use your favourite method; here
we use a method which applies also to higher-order equations, and is quite general.
The solution is the sum
The homogeneous solution follows because the characteristic equation is
The constant A defining the particular solution is found by plugging it into
the differential equation:
We can now find the constant K using the initial condition. Set t=0 and note that by the continuity
principle for capacitors,
The current can be obtained in either of two ways. The first method uses Ohm's law for capacitors:
Alternatively, we can apply KVL:
The current, whose value at time t=0- is 0 mA, rises suddenly to 3 mA at time t=0+, and then decays to zero as the capacitor is charged.
ANU Engineering - ENGN2211