This textbook provides an introduction to the world of numerical modeling in the physical sciences, focusing more specifically on earth and planetary sciences. It is designed to lead the reader through the process of defining the mathematical or physical model of interest and applying numerical methods to approximate and explore the solutions to these models, while also providing a quantitative assessment of the limitations, performance and quality of these approximations. The book is designed to provide a self-contained reference by including the mathematical foundations required to understand the models and their convergence. It includes a detailed discussion of models for ordinary systems of equation and partial differential equations, with pseudo-codes detailing the solution procedure. Examples are drawn from the fields of earth and planetary sciences, including, geochemical box models, non-linear ordinary differential equations describing the evolution of subvolcanic magma chamb