# Flux through cube's sides

1. Feb 1, 2009

### Melawrghk

1. The problem statement, all variables and given/known data
A cube has sides of length L = 0.370 m. It is placed with one corner at the origin. The electric field is not uniform but is given by E=-4.33xi+2.32zk.
Find flux through every side of the cube.

2. Relevant equations
Flux=EA

3. The attempt at a solution
There is no y-component to E, so I figured there wouldn't be any flux through the sides perpendicular to the y-axis.
For those faces perpendicular to x-axis:
the field is pointing left, so for the face on the left, the flux would be positive (it's leaving the face) and for face on the right, the flux would be negative (it's entering the face).
Flux (left face) = (0.37^2)*4.33=0.593

I used similar approach for all other faces, but that's wrong. Then I saw that it's -4.33x *i. So does that mean I have to multiply by 0.37 again? Because that's apparently wrong too.

Thanks, help will be really appreciated.

2. Feb 1, 2009

### Staff: Mentor

I assume the sides of the cube are parallel to the axes.
Good.
What's the x coordinate of that left face? What's the field? (Same questions for the right face.)

It means that the field depends on the value of the x coordinate.

3. Feb 1, 2009

### Melawrghk

Coordinate of the x-face? Well, it stretches from 0 to 0.37, should I integrate for all values?

4. Feb 1, 2009

### Staff: Mentor

The x-coordinate of the two faces that are perpendicular to the x-axis. You need it to find the field. No need to integrate.

5. Feb 1, 2009

### Melawrghk

Oh I see. So like, in my case, the two faces will intersect the x-axis at 0 and 0.37, so I put those values in?

6. Feb 1, 2009

Yes.

7. Feb 1, 2009

### Melawrghk

Awesome, thanks!