# Capacitor current in function of time

1. Sep 2, 2011

### jaumzaum

In a circuit of 1 generator (U) 1 resistor (R) and one capacitor (C), how do I calculate the current i in function of time,
as well as the energy dissipated by the resistor during the time the capacitor is charged?

2. Sep 2, 2011

### Integral

Staff Emeritus
Sorry, you will need to show us some effort before you get any help.

3. Sep 2, 2011

### jaumzaum

I have no idea on how to solve this.

I would try to integrate I

$\int \frac{C.dV}{dt}$

But V changes during time

I think

$V = Q/C$
$V=U-R.i$

and
$Q = \int I.dt$

But how do I put all together?

Last edited: Sep 2, 2011