# Using Gauss' Law to Calculate electric field near rod.

Nathan B

## Homework Statement

No variables, just a conceptual question.

Flux = EA = Q/ε

## The Attempt at a Solution

Given a uniformly charged rod of FINITE length, could we use Gauss' law for electric flux to calculate the field at a point p a distance x away from the rod, so long as the whole rod is enclosed and x lies on the surface area of the enclosing gaussian surface? I tried it with the equation E = λ L/(ε A), but it didn't work. I also found multiple different A's could be used, but none of them gave the right answer. Could someone please explain to me where I'm going wrong with this?

$$\oint\mathbf{E}\cdot d\mathbf{a}=\frac{Q_{enc}}{\epsilon}$$