GPT4 coding example to model Mars' underground temperature. A game changer for computer modeling?
Channel: Daniel García-Castellanos
Date: 2023-05-29

AI is not just changing the way we write text and how we write code, but also how we develop ideas. And it will change how we do research. 

I show how to use GPT4 to address and solve numerically this geophysical problem: 
Mars' orbital obliquity changes are larger than Earth's. Is today's temperature at potentially life-hosting depths in Mars (2-5 km or more) dependent on latitude? Or are the obliquity oscillations rapid enough to smooth out the pole-to-equator temperature difference before the insolation heat wave reaches those depths?
Using GPT-4 from scratch, we ask it how to address the problem, what approximations, what equations best represent the conceptual model, how to solve the equations and finally, making the figures for us.

Next step (so far disabled in public AI language model): accessing the own results of the codes they develop so that they can judge on their results without user assistance.

Link to the GPT-4 chat presented:
https://chat.openai.com/share/641776d8-e549-4a24-b066-10e8ac038bc6

Link to the code in Colab:
https://colab.research.google.com/drive/1lQleiz9a7fgti4OXiNXWtlcMcog52gE1?usp=sharing

Thanks Andrea Butturini and Ignacio Marzán for the martian and GPT inputs.