Calculations on the thermal history of the Earth