Okay! So this is a very basic concept....an electron revolves in a circular rather elliptical orbit around the nucleus of an atom due to the centripetal force provided by the electrostatic force btw the electron and the nucleus.... equate mv2 /r to that force u'll get e ie energy =-13.6*z/ n2 for hydrogen z=1