# Electrostatic potential inside/outside sphere

## Homework Statement

A sphere of radius R carries an electric charge Q, uniformly distributed inside its volume.

(a) Using the expression for the electric field given in the lectures, compute the electrostatic potential V (r) inside and outside the sphere.

E[/B] = -V

## The Attempt at a Solution

E[/B] = Qr/4πεoR3 = -V

VE= - ∫c E . dl

But now I'm really unsure of how you get V from this? Because you can't divide by the gradient function... So do I integrate E = Qr/4πεoR3 to find V?

Last edited: