The electric field is the negative gradient of the electric potential, which can be written as:
$\vec{E} = -\nabla V$
In this case, the electric field is only in the y-direction, so we only need to consider the y-component of the gradient.
Show more…