Let the linear charge density of the wire be .
The electric field due to a charge distributed on a wire at a perpendicular distance r from the wire,
The electrostatic force on the electron will provide the electron the necessary centripetal force required by it to move in a circular orbit. Thus,
Kinetic energy of the electron,
From (1),