A Primer on Scientific Programming with Python

Forside
Springer Science & Business Media, 31. mars 2011 - 706 sider

The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example- and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology, and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background, and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science.

 

Innhold

1 Computing with Formulas
1
2 Loops and Lists
51
3 Functions and Branching
91
4 Input Data and Error Handling
129
5 Array Computing and Curve Plotting
177
6 Files Strings and Dictionaries
243
7 Introduction to Classes
305
8 Random Numbers and Simple Games
375
B Introduction to Discrete Calculus
529
C Introduction to Differential Equations
561
D A Complete Differential Equation Project
577
E Programming of Differential Equations
603
F Debugging
655
G Technical Topics
673
References
693
Index
695

9 ObjectOriented Programming
437
A Sequences and Difference Equations
497

Andre utgaver - Vis alle

Vanlige uttrykk og setninger

Om forfatteren (2011)

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.

Bibliografisk informasjon