Determine the total electrostatic potential energy of a nonconducting sphere of radius r0 carrying a total charge Q distributed uniformly throughout its volume.
Express your answer in terms of the variables Q, r0, and appropriate constants.
V = kQ/r
U = qV
The Attempt at a Solution
Since the total amount of charge within the sphere is Q and the sphere has a radius of r0, we can make V = kQ/r0. Since U = qV, then U = kqQ/r0. However, I'm not sure how to express q in terms of Q.