Electric Field of Continuous Charge

Where
is the distance from to
is the vector form to

Example

Consider a ring along the axis