Calculate net charge with nonuniform electric field

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
ooohffff
Messages
74
Reaction score
1

Homework Statement


In a cubical volume, 1.05 m on a side, the electric field is given by the formula below, where E0 = 1.25 N/C and a = 1.05 m.

boldE.gif
= E0(1 + z/a) i + E0(z/a) j

The cube has its sides parallel to the coordinate axes, see the figure. Determine the net charge within the cube.

22-43.gif

Homework Equations



φe = ∫E⋅dA = qenc0

The Attempt at a Solution


[/B]
So I know that I need to calculate the net flux through all the 6 faces of the cube in order to solve for qenc. I know that φ+z and φ-z are equal to 0.

I think I am doing something wrong because it seems like they would cancel out?

φ+x = E0 a2 ∫ (1+z/a) dz
φ-x = -E0 a2 ∫ (1+z/a) dz
φ+y = E0 a2 ∫ (z/a) dz
φ-y = -E0 a2 ∫ (z/a) dz

Also, I would evaluate the integrals from 0 to a right?
 
Last edited:
Physics news on Phys.org
ooohffff said:

Homework Statement


In a cubical volume, 1.05 m on a side, the electric field is given by the formula below, where E0 = 1.25 N/C and a = 1.05 m.

boldE.gif
= E0(1 + z/a) i + E0(z/a) j

The cube has its sides parallel to the coordinate axes, see the figure. Determine the net charge within the cube.

22-43.gif

Homework Equations



φe = ∫E⋅dA = qenc0

The Attempt at a Solution


[/B]
So I know that I need to calculate the net flux through all the 6 faces of the cube in order to solve for qenc. I know that φ+z and φ-z are equal to 0.

I think I am doing something wrong because it seems like they would cancel out?

φ+x = E0 a2 ∫ (1+z/a) dz
φ-x = -E0 a2 ∫ (1+z/a) dz
φ+y = E0 a2 ∫ (z/a) dz
φ-y = -E0 a2 ∫ (z/a) dz

Also, I would evaluate the integrals from 0 to a right?
You have done a lot correct.

The units will be wrong.

Where does a2 come from ?
 
Hello!

ooohffff said:
I would evaluate the integrals from 0 to a right?
Yes.
ooohffff said:
I think I am doing something wrong because it seems like they would cancel out?
You don't think this is possible? Notice that for a particular ##z##, ##E## remains constant throughout the object. Also, what is the definition of flux?
 
SammyS said:
You have done a lot correct.

The units will be wrong.

Where does a2 come from ?

I think I was getting confused between ∫ E⋅dA and E⋅A, but since I'm doing the integral one then I don't need a2. So,

φ+x = E0 ∫ (1+z/a) dz
φ-x = -E0 ∫ (1+z/a) dz
φ+y = E0 ∫ (z/a) dz
φ-y = -E0 ∫ (z/a) dz

from 0 to a.
 
ooohffff said:
I think I was getting confused between ∫ E⋅dA and E⋅A, but since I'm doing the integral one then I don't need a2. So,

φ+x = E0 ∫ (1+z/a) dz
φ-x = -E0 ∫ (1+z/a) dz
φ+y = E0 ∫ (z/a) dz
φ-y = -E0 ∫ (z/a) dz

from 0 to a.
The units are also incorrect this time.

You need to integrate over y for some & over x for others. Since E is independent of x & y the result of those is easy.