Calculate the electron affinity of oxygen atom in gaining two electrons to give the oxide ion O2− from the following data.
Standard heat of formation of MgO(s)=−600 kJ mol−1
Lattice energy of MgO(s)=−3860 kJ mol−1
lonization energy of Mg(g) to give Mg2+ = +2170 kJ mol−1
Dissociation energy of O2(g) = +494 kJ mol−1
Heat of sublimation of Mg(s) = +150 kJ mol−1