A Student’s Guide to Python for Physical Modeling, 2nd Edition

A Student’s Guide to Python for Physical Modeling, 2nd Edition

English | 2021 | ISBN: 978-0691223650 | 240 Pages | PDF, EPUB | 48 MB

A Student’s Guide to Python for Physical Modeling: Second Edition

Python is a computer programming language that has gained popularity throughout the sciences. This fully updated second edition of A Student’s Guide to Python for Physical Modeling aims to help you, the student, teach yourself enough of the Python programming language to get started with physical modeling. You will learn how to install an open-source Python programming environment and use it to accomplish many common scientific computing tasks: importing, exporting, and visualizing data; numerical analysis; and simulation. No prior programming experience is assumed.

This guide introduces a wide range of useful tools, including:

  • Basic Python programming and scripting
  • Numerical arrays
  • Two- and three-dimensional graphics
  • Animation
  • Monte Carlo simulations
  • Numerical methods, including solving ordinary differential equations
  • Image processing

Numerous code samples and exercises―with solutions―illustrate new ideas as they are introduced. This guide also includes supplemental online resources: code samples, data sets, tutorials, and more. This edition includes new material on symbolic calculations with SymPy, an introduction to Python libraries for data science and machine learning (pandas and sklearn), and a primer on Python classes and object-oriented programming. A new appendix also introduces command line tools and version control with Git.