Calculate voltage across a capacitor over time in an RC circuit.
JavaScript Required. V(t) = V0 * (1 - e^(-t/RC))