The total energy is the sum of the electron's kinetic energy and the potential energy coming from the electron-proton interaction. The kinetic energy is given by KE = 1/2 mv 2. This can be found by analyzing the force on the electron.