Calculate the lattice energy of magnesium oxide (MgO) given the following data: Ionization energy of magnesium (Mg): 738 kJ/mol Electron affinity of oxygen (O): -141 kJ/mol Lattice energy of MgO at standard conditions: -3795 kJ/mol Bond length between Mg and O: 203 pm