So, I have this simple question to solve, but I am uncertain about some details. The circuit I have to solve is the one on the image below:
I have a circuit with one capacitor(C = 1/4 Farad), two switches(s1, s2), two resistors(R1 = 4ohm, R2 = 2ohm) and a voltage source(V1 = 10V).
The question asks me to calculate Vc(t) (the capacitor's tension over time). Right before t=0, both switches are opened, and the capacitor's tension is 20V. At t=0, both switches close, and stay closed until t=0.9s . At that moment, s2 opens. The question then asks me to calculate Vc over time, from 0 to 0.9, and then from 0.9 to infinity(until discharged, I think).
What got me confused is that Vc(0)=20V. That means the capacitor was pre-charged by a 20V voltage source, getting a charge of 5 coulombs(q=c*v). But then, it is connected to a circuit with a voltage source that has a voltage lower than of its own (V of the V1 = 10v).
I imagine that, because of this, the capacitor will discharge. Thing is, does the presence of the voltage source interferes with the discharging of the capacitor? Does it at all? Should I use the Vc = Vo * e^(-t/RC)) equation?
Thanks so much in advance, and I am sorry if I was long-winded.