Compare the energies of two radiations E1 with wavelength 800 nm and E2 with wavelength 400 nm.
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