A Primer on Scientific Programming with PythonSpringer 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
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 |
687 | |
Andere Ausgaben - Alle anzeigen
Häufige Begriffe und Wortgruppen
apply approximation arguments array ball becomes block calculations Chapter column command line complete condition contains corresponding create curve defined derivative dictionary elements equal equation error evaluate exact example execution Exercise explained expression Figure float folder format formula function given gives implementation import initial input inside instance integral interest look loop math mathematical means method module Name of program Note Numerical Python object operations output parameters plot points position present probability problem program file Python programs random refer result root sequence simple solution solve specified standard statement step string temperature term Terminal True variable vector window write zero