Calculating potential difference(V) and charge(Q) on the circuit.