Four point charges of magnitude 3.1 µC are at the corners of a square of side 5 m.
(a) Find the electrostatic potential energy if all the charges are negative.
(b) Find the electrostatic potential energy if three of the charges are positive and one is negative.