4th ed. 2014, XXXI, 872 p. 170 illus., 70 illus. in color.
Springer eBooks may be purchased by end-customers only and are sold without copy protection (DRM free). Instead, all eBooks include personalized watermarks. This means you can read the Springer eBooks across numerous devices such as Laptops, eReaders, and tablets.
You can pay for Springer eBooks with Visa, Mastercard, American Express or Paypal.
After the purchase you can directly download the eBook file or read it online in our Springer eBook Reader. Furthermore your eBook will be stored in your MySpringer account. So you can always re-download your eBooks.
Example-oriented text with all applications taken from science and engineering
Aimed at newcomers to programming and Python, but proved to be useful for professionals too
All examples are accompanied by complete program codes, which can be modified to the reader's needs
Covers both Matlab-style "simple" programming and object-oriented programming
Demonstrates how Python can be an alternative to Matlab in scientific computing
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.
From the reviews:
Langtangen … does an excellent job of introducing programming as a set of skills in problem solving. He guides the reader into thinking properly about producing program logic and data structures for modeling real-world problems using objects and functions and embracing the object-oriented paradigm. … Summing Up: Highly recommended. F. H. Wild III, Choice, Vol. 47 (8), April 2010
Those of us who have learned scientific programming in Python ‘on the streets’ could be a little jealous of students who have the opportunity to take a course out of Langtangen’s Primer.” John D. Cook, The Mathematical Association of America, September 2011
This book goes through Python in particular, and programming in general, via tasks that scientists will likely perform. It contains valuable information for students new to scientific computing and would be the perfect bridge between an introduction to programming and an advanced course on numerical methods or computational science. Alex Small, IEEE, CiSE Vol. 14 (2), March/April 2012
Preface.- Computing with Formulas.- Loops and Lists.- Functions and Branching.- User Input and Error Handling.- Array Computing and Curve Plotting.- Dictionaries and Strings.- Introduction to Classes.- Random Numbers and Simple Games.- Object-Oriented Programming.- Sequences and Difference Equations.- Introduction to Discrete Calculus.- Introduction to Differential Equations.- A Complete Differential Equation Project.- Programming of Differential Equations.- Debugging.- Migrating Python to Compiled Code.- Technical Topics.- Bibliography.- Index.