Calculating electric potential difference due to a point charge