Using the born haber cycle