-
出版商:
Springer
-
出版日期:
2025-10-19
-
售價:
$3,750
-
貴賓價:
9.5 折
$3,563
-
語言:
英文
-
頁數:
381
-
裝訂:
Hardcover - also called cloth, retail trade, or trade
-
ISBN:
3031945921
-
ISBN-13:
9783031945922
-
相關分類:
Python
商品描述
This second edition introduces Python programming to readers with little or no prior experience, specifically tailored for physicists and natural sciences students. The book begins with interactive Python exercises to foster familiarity with the language. It then progresses to more complex Python scripts (programs) that readers are encouraged to run on their own computers. Each program listing is thoroughly explained, and readers are encouraged to experiment by modifying code lines or blocks to observe and understand their effects. The text introduces Matplotlib graphics for creating figures representing data, function plots, and visualizations like field lines and equipotential surfaces. It also explores 3D graphics and animated function plots. A dedicated chapter covers the numerical solution of algebraic and transcendental equations. The underlying mathematical principles are thoroughly discussed and the available Python tools for solving these equations are presented. A further chapter is dedicated to the numerical solution of ordinary differential equations (ODEs). 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 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. A special chapter is dedicated to computer animation involving differential equations, with a discussion of the effect of the accumulation of truncation errors, particularly relevant for such fields as molecular dynamics or celestial mechanics, which often require integrating Newton's equations over a very long time starting from some initial conditions. Symplectic algorithms for tackling this problem are introduced. 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.
商品描述(中文翻譯)
本書第二版為對於幾乎沒有或完全沒有經驗的讀者介紹 Python 程式設計,特別針對物理學家和自然科學學生量身打造。書籍以互動式的 Python 練習開始,以促進讀者對該語言的熟悉度。接著進入更複雜的 Python 腳本(程式),鼓勵讀者在自己的電腦上運行。每個程式清單都經過詳細解釋,並鼓勵讀者透過修改程式碼行或區塊來進行實驗,以觀察和理解其效果。文本介紹了 Matplotlib 圖形庫,用於創建表示數據的圖形、函數圖和可視化,如場線和等勢面。還探討了 3D 圖形和動畫函數圖。專門的一章涵蓋了代數方程和超越方程的數值解法。
底層的數學原理被徹底討論,並介紹了解決這些方程的可用 Python 工具。另一章專門討論常微分方程(ODEs)的數值解法。這對於物理學家來說至關重要,因為微分方程是古典物理(牛頓方程)和量子力學(薛丁格方程)的基礎。還介紹了帶邊界條件的常微分方程數值解法的射擊法。作為範例,討論了解決兩個量子力學問題的 Python 程式。兩章專門介紹 Tkinter 圖形,這比 Matplotlib 給予用戶更多的自由度,以及 Tkinter 動畫。專門的一章涉及與微分方程相關的計算機動畫,並討論了截斷誤差累積的影響,這對於分子動力學或天體力學等領域特別相關,這些領域通常需要從某些初始條件開始,長時間整合牛頓方程。介紹了解決此問題的辛算法。展示了涉及常微分方程解的物理問題動畫的程式(在大多數情況下沒有代數解)並進行了討論。最後,使用 Vpython 展示了 3D 動畫。
作者簡介
Giovanni Moruzzi is a retired associate professor from the Physics Department at the University of Pisa, where he continues to teach a course on basic Python algorithms, with a particular focus on computer animation of physical phenomena.
His research interests encompass atomic and molecular spectroscopy, particularly the analysis and assignment of dense molecular spectra involving large-amplitude internal motions. He has authored over 70 papers in peer-reviewed journals and has contributed as both co-editor and co-author of two scientific books and two books on physics exercises
作者簡介(中文翻譯)
喬凡尼·莫魯齊(Giovanni Moruzzi)是比薩大學(University of Pisa)物理系的退休副教授,他仍然教授一門關於基本 Python 演算法的課程,特別專注於物理現象的電腦動畫。
他的研究興趣包括原子和分子光譜學,特別是涉及大幅度內部運動的密集分子光譜的分析和指派。他在同行評審的期刊上發表了超過 70 篇論文,並作為共同編輯和共同作者貢獻了兩本科學書籍和兩本物理習題書。