A Primer on Scientific Programming with Python, 4th Edition Front Cover

A Primer on Scientific Programming with Python, 4th Edition

  • Length: 872 pages
  • Edition: 4th ed. 2014
  • Publisher:
  • Publication Date: 2014-08-02
  • ISBN-10: 3642549586
  • ISBN-13: 9783642549588
  • Sales Rank: #1189970 (See Top 100 Books)
Description

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  

Table of Contents

Chapter 1 Computing with formulas
Chapter 2 Loops and lists
Chapter 3 Functions and branching
Chapter 4 User input and error handling
Chapter 5 Array computing and curve plotting
Chapter 6 Dictionaries and Strings
Chapter 7 Introduction to classes
Chapter 8 Random numbers and simple cames
Chapter 9 Object-oriented programming

Appendix A Sequences and difference equations
Appendix B Introduction to discrete calculus
Appendix C Introduction to differential equations
Appendix D A complete differential equation project
Appendix E Programming of differential equations
Appendix F Debugging
Appendix G Migrating Python to compiled code
Appendix H Technical topics

To access the link, solve the captcha.