Figure 5.38 shows a circuit with resistance, capacitance and switch. Determine the voltage across the capacitor when the switch is closed at t<0 .
At t<0, the switch is closed and the capacitor is open circuited under DC condition as shown in Fig. 5.39. In this case, the circuit is shown in Fig. 5.40. Here, the source current is calculated as,
i={\frac{24}{2+6+4}}=2{\mathrm{~A}} (5.257)
The voltage across the capacitor is,
\nu_{c}=2(4+6)=20\,\mathrm{V} (5.258)
The voltage across the capacitor does not change instantaneously. Therefore, the voltage at t=0^{+} will be equal to the voltage att=0^{-}.
\nu(0)=\nu_{c}=20\,\mathrm{V} (5.259)
At t≥0 the source is disconnected as shown in Fig. 5.40. The equivalent circuit resistance is,
R_{x}=4+6=10\,\Omega (5.260)
The time constant is,
R_{x}C=10\times3=30 (5.261)
The voltage across the capacitor at t ≥ 0 is,
v_{c} =v\left(0\right) e^{-\frac{1}{R_{x}C}t}=20e^{-\frac{1}{30}t}=20e^{-0.03t} V (5.262)