I am trying to find the differential equation of this circuit:
I tried to use KVL at the left mesh which gave me
\$E=R\cdot i+V_c\$
From \$V_c\$ I can calculate \$i_1\$, but then I didn't know how to continue. I tried to use KVL at the right mesh, and I also tried the KVL \$i=i_1+i_2\$ but none of them worked.
How do I solve this circuit?
The steps that I have done:
$$E=R\cdot i+V_c~\mathrm{(1)}$$
We know that \$i_1=C\frac{dv}{dt}\$ so we can say that:
$$V_c=\frac{1}{C}\int{i_1}$$
Then we replace the \$V_c\$ in (1).
From KCL we find that \$i=i_1+i_2\$, so we turn \$R\cdot i\$ into \$R\cdot(i_1+i_2)\$.
Now I don't know how I can find the relation between \$i_2\$ and \$i_1\$.