# EM: Gauss' law for electricity

#### srvs

1. The problem statement, all variables and given/known data

A solid sphere of radius R carries a volume charge density $$\rho = \rho_0e^{r/R}$$, where $$\rho_0$$ is a constant and r is the distance from the center.

Find an expression for the electric field strength at the sphere's surface.

2. Relevant equations

$$\int\vec{E}.d\vec{A} = \frac{q}{\epsilon_0}$$

3. The attempt at a solution
$$E * 4 \pi R^2= \frac{\rho \frac{4}{3}\pi R^3}{\epsilon_0} = \frac{\rho_0e \frac{4}{3}\pi R^3}{\epsilon_0} = \frac{\rho_0 e R}{3*\epsilon_0}$$

This is not correct. Why not? With the gaussian surface right at the sphere's surface, the enclosed charge is the volume charge density times the volume, no? What am I missing?

Last edited:

#### Delphi51

Homework Helper
The charge density is not uniform; it varies with radius r within the sphere. You must integrate the density over the sphere's volume to calculate the total charge.

#### srvs

Can't believe I missed that. Thanks, got the correct solution now.

### The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving