calculating potential difference in a series circuit