jsmith613 said:
The circuit in the diagram has a small problem: There's no resistance in the path when the switch is in the 'charging' position. For ideal components that would mean that the battery would "see" no resistance between its own p.d. and the current p.d. of the capacitor, which begins at zero volts. The ideal battery would supply an
infinite current to bring the capacitor p.d. up to that of the battery
instantaneously. No gradual increase or decrease in current in that case, just BANG! You're done!
In real life there is always resistance in the path, even if it's just the resistance of the wiring. A small modification to your circuit will fix this. Two choices: Either move the resistor so that it will be in either current path, or add a second resistor to represent the resistance in the charging path:
For both versions, when the switch is moved to the left to charge the capacitor, the resulting circuit is the same as the Charging Circuit that I posted earlier. Similarly, the circuit that results when the switch is moved to the right is the same as the Discharging Circuit in that post.
In any circuit, current is moved by a potential difference. The greater the potential difference the greater the current for a given resistance in between. This is just Ohm's Law: I = ΔV/R.
What you need to do is spot the initial potential difference that each circuit begins with (which devices in the circuits are holding a potential before the path is closed?). That sets the initial current. Then determine how that potential difference changes over time as the current flows.