Potential energy of electron present in He+ is:
No/2 atoms of X(g) are converted into X+(g)+ by energy E1, No/2 atoms of Xg are converted into X−(g) by energy E2. Hence ionization potential and electron affinity of X(g) per atom are