z = energy of electron in nth orbit