EN(mulliken scale) of the element (A) is E1 and IP is E2. Hence, EA will be:
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