Calculate the enthalpy of formation of MgF2 from the following data-
Enthalpy of sublimation for Mg(s)→Mg(g)=146.4 kJ mol−1
Enthalpy of dissociation of F2(g)→2F(g)=155.8 kJ mol−1
Ionisation energy of Mg(g)→Mg2+(g)=2186 kJ mol−1
Electron gain enthalpy of 2F→2F−1=2×−322.6=−645.2 kJ mol−1
Lattice enthalpy of MgF2=−2922.5 kJ mol−1