Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de

Computational Physics (eBook)

Problem Solving with Python
eBook Download: EPUB
2024 | 4. Auflage
1027 Seiten
Wiley-VCH GmbH (Verlag)
978-3-527-84331-2 (ISBN)

Lese- und Medienproben

Computational Physics - Rubin H. Landau, Manuel J. Páez, Cristian C. Bordeianu
Systemvoraussetzungen
97,99 inkl. MwSt
(CHF 95,70)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Computational Physics

The classic in the field for more than 25 years, now with increased emphasis on data science and new chapters on quantum computing, machine learning (AI), and general relativity

Computational physics combines physics, applied mathematics, and computer science in a cutting-edge multidisciplinary approach to solving realistic physical problems. It has become integral to modern physics research because of its capacity to bridge the gap between mathematical theory and real-world system behavior.

Computational Physics provides the reader with the essential knowledge to understand computational tools and mathematical methods well enough to be successful. Its philosophy is rooted in 'learning by doing', assisted by many sample programs in the popular Python programming language. The first third of the book lays the fundamentals of scientific computing, including programming basics, stable algorithms for differentiation and integration, and matrix computing. The latter two-thirds of the textbook cover more advanced topics such linear and nonlinear differential equations, chaos and fractals, Fourier analysis, nonlinear dynamics, and finite difference and finite elements methods. A particular focus in on the applications of these methods for solving realistic physical problems.

Readers of the fourth edition of Computational Physics will also find:

  • An exceptionally broad range of topics, from simple matrix manipulations to intricate computations in nonlinear dynamics
  • A whole suite of supplementary material: Python programs, Jupyter notebooks and videos

Computational Physics is ideal for students in physics, engineering, materials science, and any subjects drawing on applied physics.

Rubin H. Landau, PhD, is Professor Emeritus in the Department of Physics at Oregon State University, Corvallis, Oregon, USA. In his long and distinguished research career he has been instrumental in the development of computational physics as a defined subject, and founded both the Computational Physics Degree Program and the Northwest Alliance for Computational Science and Engineering.

Manuel J. Páez, PhD, is a Professor in the Department of Physics at the University of Antioquia in Medellin, Colombia. He teaches courses in both physics and programming, and he and Professor Landau have collaborated on pathbreaking computational physics investigations.

Cristian C. Bordeianu, PhD, taught Physics and Computer Science at the Military College 'Stefan cel Mare,' Campulung Moldovenesc, Romania.

Rubin H. Landau is Professor Emeritus in the Department of Physics at Oregon State University in Corvallis. He has been teaching courses in computational physics for over 25 years, was a founder of the Computational Physics Degree Program and the Northwest Alliance for Computational Science and Engineering, and has been using computers in theoretical physics research ever since graduate school. He is author of more than 90 refereed publications and has also authored books on Quantum Mechanics, Workstations and Supercomputers, the first two editions of Computational Physics, and a First Course in Scientific Computing. Manuel J. Páez is a professor in the Department of Physics at the University of Antioquia in Medellín, Colombia. He has been teaching courses in Modern Physics, Nuclear Physics, Computational Physics, Mathematical Physics as well as programming in Fortran, Pascal and C languages. He and Professor Landau have conducted pioneering computational investigations in the interactions of mesons and nucleons with nuclei. Cristian C. Bordeianu taught Physics and Computer Science at the Military College "Stefan cel Mare" in Câmpulung Moldovenesc, Romania.

Preface

PART I. BASICS
Introduction
Software Basics
Errors & Uncertainties
Monte Carlo Simulations
Differentiation & Integration
Trial-and-Error Searching & Data Fitting
Matrix Computing and N-D Searching
Differential Equations & Nonlinear Oscillations

PART II. DATA SCIENCE
Fourier Analyses
Wavelet & Principal Components Analysis
Neural Networks & Machine Learning
Quantum Computing

PART III. APPLICATIONS
ODE Applications; Eigenvalues, Scattering, Trajectories
Fractals & Statistical Growth Models
Nonlinear Population Dynamics
Nonlinear Dynamics of Continuous Systems
Thermodynamics Simulations & Fenyman Path Integrals
Molecular Dynamics Simulations
General Relativity
Integral Equations

PART IV. PDE APPLICATIONS
PDE Review, Electrostatics & Relaxation
Heat Flow & Leapfrogging
String & Membrane Waves
Quantum Wave Packets & EM Waves
Shock & Soliton Waves
Fluid Hydrodynamics
Finite Element Electrostatics

Appendices
Index

1
Introduction


Beginnings are hard.

Chaim Potok

Nothing is more expensive than a start.

Friedreich Nietzsche

We start this book with a description of how computational physics (CP) fits into the broader field of computational science, and how CP fits into physics. We describe the subjects we cover, the coordinated video lectures, and how the book may be used in a CP course. Finally, we get down to business by discussing the Python language and its many packages, some of which we’ll use. In Chapter 2 we give an introduction to Python programming, and in Chapter 7 we examine Python’s treatment of matrices.

1.1 Computational Physics and Science


As illustrated in Figure 1.1, we view CP as a bridge that connects physics, computer science (CS), and applied mathematics. Whereas CS studies computing for its own intrinsic interest and develops the hardware and software tools that computational scientists use, and while applied mathematics develops and studies the algorithms that computational scientists use, CP focuses on using all of that to do better and new physics. Furthermore, just as an experimentalist must understand many aspects of an experiment to ensure that her measurements are accurate and believable, so should every physicist undertaking a computation understand the CS and math well enough to ensure that her computations are accurate and precise.

As CP has matured, we see it not only as a bridge among disciplines, but also as a specialty containing core elements of its own, such as data-mining tools, computational methods, and a problem-solving mindset. To us, CP’s commonality of tools and viewpoint with other computational sciences makes it a good training ground for students, and a welcome change from the overspecialization found in so much of physics.

As part of this book’s emphasis on problem solving, we strive to present the subjects within a problem-solving paradigm, as illustrated on the right of Figure 1.1. Ours is a hands-on, inquiry-based approach in which there are problems to solve, a theory or an appropriate model to apply, an appropriate algorithm to use, and an assessment of the results. This approach can be traced back to the post-World War II research techniques developed at US national laboratories. They deserve the credit for extending the traditional experimental and theoretical approaches of physics to also include simulation. Recent developments have also introduced powerful data mining tools, such as neural networks, artificial intelligence, and quantum computing.

Figure 1.1 On the left a view of computational physics as a discipline encompassing physics, applied mathematics, and computer science. On the right is a broader view of computational physics fitting into various components of scientific problem solving.

1.2 This Book’s Subjects


We do not intend this book to be a scholarly exposition of the foundations of CP. Instead, we employ a learn-by-doing approach with many exercises, problems, and ready-to-run codes. We survey many of the subjects that constitute CP at a level appropriate for undergraduate education, except maybe for the latter parts of some chapters. Our experience is that many graduate students and professionals may also benefit from this survey approach in which a basic understanding of a broad range of topics facilitates further in-depth study.

Chapters 18 cover basic numerics, ordinary differential equations with (many) applications, matrix computing using well-developed linear algebra libraries, and Monte-Carlo methods. Some powerful data mining tools such as discrete Fourier transforms, wavelet analysis, principal component analysis, and neural networks are covered in the middle of the book.

A traditional way to view the materials in this text is in terms of their use in courses. For a one-quarter class, we used approximately the first-third of the text, with its emphasis on computing tool familiarity with a compiled language [CPUG, 2009]. The latter two-thirds of the text, with its greater emphasis on physics, has typically been used in a two-quarter (20-week) course. What with many of the topics taken from research, these materials can easily be used for a full year’s course, and for supplementary research projects.

1.3 Video Lecture Supplements


As an extension of the concept of a “text,” we provide some 60 video lecture modules (as in Figure 1.2) that cover almost every topic in the book. The modules were originally a mix of Flash, Java, HTML, and mpeg, but with Flash no longer supported, we provide them as mp4 videos and PDF slides. They are available on our website: https://sites.science.oregonstate.edu/∼landaur/Books/CPbook/eBook/Lectures, as well as on our YouTube channel under Landau Computational Physics Course: https://www.youtube.com/playlist?list=PLnWQ_pnPVzmJnp794rQXIcwJIjwy7Nb2U.

Figure 1.2 A screenshot from a lecture module showing a dynamic table of contents, a talking head, video controls, a slide with live scribbling, and some old man. (Originally in Flash, now as mpegs.)

The video lectures can be used to preview or review materials, as part of an online course, or in a blended course in which they replace some lectures, thereby freeing up time for lab work with the instructor.

1.4 This Book’s Codes and Problems


Separate from the problems and exercises throughout the text, almost every chapter starts off with a keynote “Problem” that leads into the various steps in computational problem solving (Figure 1.1). The additional problems and exercises distributed throughout the chapters are essential ingredients for learning, and are meant to be worked through. This entails studying the text, writing, debugging, and running programs, visualizing the results, and expressing in words what has been performed, and what can be concluded. We asked our students to write up mini lab reports containing

Equations solved Numerical method Code listing
Visualization Discussion Critique

Although we recognize that programming is a valuable skill for scientists, we also know that it is incredibly exacting and time-consuming. In order to lighten the workload, we provide programs for most of the problems in the text, both at the end of each chapter and online at: sites.science.oregonstate.edu/∼landaur/Books/CPbook/Codes.

A complete list is given in the Appendix. We recommend that these codes be used as guides for the reader when writing their own programs, or, at the least, tested and extended to solve the problem at hand. We have been told that learning how to use someone else’s code is a valuable workplace skill to develop; as with programs encountered in a workplace, they should be understood before use!

1.5 Our Language: The Python Ecosystem


The codes in this edition of Computational Physics employ the computer language Python. Previous editions have employed Java, Fortran, and C, and used post-computation tools for visualization.1 Python’s combination of language plus packages now makes it the standard for the explorative and interactive computing that typifies present-day scientific research.

Although valuable for research, we have also found Python to be the best language yet for teaching and learning CP. It is free, robust (programs don’t crash), portable (programs run without modifications on various devices), universal (available for most every computer system), has a clean syntax that permits rapid learning, has dynamic typing (changes data types automatically as needed), has high-level, built-in data types (such as complex numbers), and built-in visualization. Furthermore, because Python is interpreted, students can learn the language by executing and analyzing individual statements within an interactive shell, or within a notebook environment, or by running an entire program in one fell swoop. Finally, it is easy to use the myriad of free Python packages supporting numerical algorithms, state-of-the-art visualizations, as well as specialized toolkits that rival those in Matlab and Mathematica/Maple. And did we mention, all of this is free?

Although we do not expect the readers to be programming experts, it is essential to be able to run and modify the sample codes in this book. For learning Python, we recommend the online tutorials [PyTut, 2023; Pguide, 2023; Plearn, 2023], the book [Langtangen, 2016], and the many books in the “Python for Scientists and Engineers” genre. For general numerical methods, [Press et al., 2007] is the standard, and fun to read. The NITS Digital Library of Mathematical Functions [NIST, 2022] is a convenient reference for mathematical functions and numerical methods.

Python has developed rapidly since its first implementation in December 1989 [History, 2022]. The rapid developments of Python have led to a succession of new versions and the inevitable incompatibilities. The codes presented in the book are in the present standard, Python 3. The major difference from Python 2 is the print statement:

1.6 The Easy Way: Python...


Erscheint lt. Verlag 20.3.2024
Sprache englisch
Themenwelt Naturwissenschaften Physik / Astronomie
Schlagworte Applied mathematics • Artificial Intelligence • chaos and fractals • Chemie • Chemistry • Computational Chemistry & Molecular Modeling • Computational Chemistry u. Molecular Modeling • Computer Science • Differentiation • finite difference methods • finite elements • fourier analysis • General relativity • Informatik • Integration • Künstliche Intelligenz • machine learning • Mathematical & Computational Physics • Mathematische Physik • Nonlinear Dynamics • Physics • Physik • Python • Python (Programmiersprache) • Realistic physics • Rechnerunterstützung • Statistik
ISBN-10 3-527-84331-0 / 3527843310
ISBN-13 978-3-527-84331-2 / 9783527843312
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
EPUBEPUB (Adobe DRM)

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belle­tristik und Sach­büchern. Der Fließ­text wird dynamisch an die Display- und Schrift­größe ange­passt. Auch für mobile Lese­geräte ist EPUB daher gut geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich

von Horst Kuchling; Thomas Kuchling

eBook Download (2022)
Carl Hanser Verlag GmbH & Co. KG
CHF 24,40