# How to calculate the electric potential inside of a sphere

## Homework Statement

The density of the charge inside of the sphere is given-
ro=a*r+b/r
The electric potential on the outer layer of the sphere is phi=0
The radius of the sphere is 58.4m
r-is the distance from the center of the sphere
What is the electric potential when r=15.4m?

## The Attempt at a Solution

Basically, what I tried to do the to do the field equation and integrate it between 58.4 and 15.4.
That didnt work so im clueless to what I need to do.
4*pi*r^2*E=(4*pi*R^3)ro/3epsilon

Related Introductory Physics Homework Help News on Phys.org
Like potential, the Electric field also varies with the distance from center. Did you get your electric field right? Your integration parameters seem to be fine, it may be possible that your Electric field is not right.

Last edited:
rude man
Homework Helper
Gold Member

## Homework Statement

The density of the charge inside of the sphere is given-
ro=a*r+b/r
The electric potential on the outer layer of the sphere is phi=0
The radius of the sphere is 58.4m
r-is the distance from the center of the sphere
What is the electric potential when r=15.4m?

## The Attempt at a Solution

Basically, what I tried to do the to do the field equation and integrate it between 58.4 and 15.4.
That didn't work so i'm clueless to what I need to do.
4*pi*r^2*E=(4*pi*R^3)ro/3epsilon
What is R? This equation makes no sense.
You have to do two integrations:
the first is to get the charge within a given r to get E(r), along the lines of your equation but fixed up;
then you integrate E(r) from the outer surface to r = 15.4m.