Sciweavers

CPHYSICS
2007

Python: a language for computational physics

13 years 4 months ago
Python: a language for computational physics
Python is a relatively new computing language, created by Guido van Rossum (Tanenbaum et al, 1990), which is particularly suitable for teaching a course in computational physics. There are two questions to be considered: (i) For whom is the course intended? (ii) What are the criteria for a suitable language, and why choose Python? The criteria include the nature of the application. High performance computing requires a compiled language, e.g. FORTRAN. For some applications a computer algebra, e.g. Maple, is appropriate. For teaching, and for program development, an interpreted language has considerable advantages: Python appears particularly suitable. Python’s attractions include (i) its system of modules which makes it easy to extend (ii) its excellent graphics (VPython module) (iii) its excellent on line documentation (iv) it is free and can be downloaded from the web. Python and VPython will be described briefly, and some programs demonstrated. Key words: education; graphics; co...
P. H. Borcherds
Added 13 Dec 2010
Updated 13 Dec 2010
Type Journal
Year 2007
Where CPHYSICS
Authors P. H. Borcherds
Comments (0)