A Primer on Scientific Programming with Python

Cover
Springer Science & Business Media, 07.08.2009 - 694 Seiten
Theaimofthisbookistoteachcomputerprogrammingusingexamples from mathematics and the natural sciences. We have chosen to use the Python programming language because it combines remarkable power with very clean, simple, and compact syntax. Python is easy to learn and very well suited for an introduction to computer programming. Python is also quite similar to Matlab and a good language for doing mathematical computing. It is easy to combine Python with compiled languages, like Fortran, C, and C++, which are widely used languages forscienti?ccomputations.AseamlessintegrationofPythonwithJava is o?ered by a special version of Python called Jython. The examples in this book integrate programming with appli- tions to mathematics, physics, biology, and ?nance. The reader is - pected to have knowledge of basic one-variable calculus as taught in mathematics-intensive programs in high schools. It is certainly an - vantage to take a university calculus course in parallel, preferably c- taining both classical and numerical aspects of calculus. Although not strictly required, a background in high school physics makes many of the examples more meaningful.
 

Inhalt

Computing with Formulas
1
1
38
Basic Constructions
51
Input Data and Error Handling
119
Array Computing and Curve Plotting
169
Sequences and Difference Equations
235
Files Strings and Dictionaries
269
Introduction to Classes
337
Methods
369
Random Numbers and Simple Games
417
ObjectOriented Programming
479
A Discrete Calculus
573
B Differential Equations B 1 The Simplest Case
608
Motion and Forces in Physics
621
Bibliography
687
Urheberrecht

Andere Ausgaben - Alle anzeigen

Häufige Begriffe und Wortgruppen

Autoren-Profil (2009)

Hans Petter Langtangen is a professor of computer science at the University of Oslo. He has formely been a professor of mechanics and is now the director of a Norwegian Center of Excellence: "Center for Biomedical Computing", at Simula Research Laboratory. Langtangen has published over 100 scientific publications and written several books, including papers and a book on Python's potential for scientific computing. He has also developed open source and commercial software systems for computational sciences.

Bibliografische Informationen