Springer Book Archives: eBooks only 8.99 each! Save now >>

Essential Python for the Physicist

Authors: Moruzzi, Giovanni

Free Preview
  • Introduces the natural-science student to the Python programming language
  • Codes of all programs discussed in this book are available at Springer.com
  • No previous experience with other programming languages is required
  • Focuses on simple computer animation programs of physical interest
see more benefits

Buy this book

eBook $79.99
price for USA in USD (gross)
  • ISBN 978-3-030-45027-4
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Hardcover $99.99
price for USA in USD
  • ISBN 978-3-030-45026-7
  • Free shipping for individuals worldwide
  • Immediate ebook access, if available*, with your print order
  • Usually dispatched within 3 to 5 business days.
About this Textbook

This book introduces the reader with little or no previous computer-programming experience to the Python programming language of interest for a physicist or a natural-sciences student. The book starts with basic interactive Python in order to acquire an introductory familiarity with the language, than tackle Python scripts (programs) of increasing complexity, that the reader is invited to run on her/his computer. All program listings are discussed in detail, and the reader is invited to experiment on what happens if some code lines are modified. The reader is introduced to Matplotlib graphics for the generation of figures representing data and function plots and, for instance, field lines. Animated function plots are also considered. A chapter is dedicated to the numerical solution of algebraic and transcendental  equations, the basic mathematical principles are discussed and the available Python tools for the solution are presented. A further chapter is dedicated to the numerical solution of ordinary differential equations. This is of vital importance for the physicist, since differential equations are at the base of both classical physics (Newton’s equations) and quantum mechanics (Schroedinger’s equation). The shooting method for the numerical solution of ordinary differential equations with boundary conditions at two boundaries is also presented. Python programs for the solution of two quantum-mechanics problems are discussed as examples. Two chapters are dedicated to Tkinter graphics, which gives the user more freedom than Matplotlib, and to Tkinter animation. Programs displaying the animation of physical problems involving the solution of ordinary differential equations (for which in most cases there is no algebraic solution) in real time are presented and discussed. Finally, 3D animation is presented with Vpython.

About the authors

Giovanni Moruzzi is a retired associated professor from the Physics Department of the University of Pisa, where he is still teaching classical electromagnetism and basic computer algorithms.

His research interests cover atomic and molecular spectroscopy, in particular the assignment of dense molecular spectra involving internal large-amplitude motions. He has published more than 70 papers on peer-reviewed journals and has been co-editor and coauthor of two scientific books.

Table of contents (10 chapters)

Table of contents (10 chapters)

Buy this book

eBook $79.99
price for USA in USD (gross)
  • ISBN 978-3-030-45027-4
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Hardcover $99.99
price for USA in USD
  • ISBN 978-3-030-45026-7
  • Free shipping for individuals worldwide
  • Immediate ebook access, if available*, with your print order
  • Usually dispatched within 3 to 5 business days.
Loading...

Recommended for you

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Essential Python for the Physicist
Authors
Copyright
2020
Publisher
Springer International Publishing
Copyright Holder
Springer Nature Switzerland AG
eBook ISBN
978-3-030-45027-4
DOI
10.1007/978-3-030-45027-4
Hardcover ISBN
978-3-030-45026-7
Edition Number
1
Number of Pages
X, 302
Number of Illustrations
49 b/w illustrations, 62 illustrations in colour
Topics

*immediately available upon purchase as print book shipments may be delayed due to the COVID-19 crisis. ebook access is temporary and does not include ownership of the ebook. Only valid for books with an ebook version. Springer Reference Works are not included.