Consider the circuit below consisting out of a capacitor C and two identical resistors R. For \$t<0\$ the switch is open and the capacitor is uncharged. At \$t=0\$ switch is shut and the circuit is connected to the voltage source with constant voltage U.
a) What's the total current in the circuit immediately after the switch is shut? What's the charge of the capacitor and the total current after a very long time?
b) Determine for \$t>0\$ the total current in the circuit and the charge of the capacitor as a function of time by setting up a suitable differential equation and solving it.
I'm practicing for my exam in physics and I have always been weak concerning even the easiest circuits and I found this one in my textbook.
Here are my thoughts so far:
a) I suppose that in this type of circuit the current and the voltage are in phase, meaning that immediately after the switch is shut the current should be \$I=0\$?
But I don't seem to find an approach getting expressions for the current and the charge after a very long time. Can't I just assume that the capacitor will be fully charged, meaning \$Q=C\cdot U\$? About the current: Since at every part of the circuit there should be a different current, meaning at $R$ the current should be \$I_R=\frac{U}{R}\$ and I was thinking that since \$Q=C\cdot U\$ and the time derivative of \$Q\$ is \$I\$ and since \$U\$ is constant, does that mean that the current is \$0\$? Seems kind of unlikely.
b) I'm kind of lost here. I'm supposed to set up a differential equation which then would give me a function with which I can find \$Q\$ and \$I\$ at certain points?
I would appreciate any help. I seriously need to get better with circuits.