Essential Python for the Physicist by Giovanni Moruzzi


Essential Python for the Physicist
by 作者: Giovanni Moruzzi
pages 页数: 314 pages
Publisher Finelybook 出版社: ; 1st ed. 2020 edition (3 Jun. 2020)
Language 语言: English
ISBN-10 书号: 3030450260
ISBN-13 书号: 9783030450267


Book Description
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.
Front Matter
1. Python Basics and the Interactive Mode
2. Python Scripts
3. Plotting with Matplotlib
4. Numerical Solution of Equations
5. Numerical Solution of Ordinary Differential Equations (ODE)
6. Tkinter Graphics
7. Tkinter Animation
8. Classes
9.3D Graphics and Animation with VPython
10. Answers to the Exercises
Back Matter

打赏
未经允许不得转载:finelybook » Essential Python for the Physicist by Giovanni Moruzzi

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏