Books  Data Analysis & Modelling  Computing for the Natural Sciences 

A Primer on Scientific Programming with Python

Handbook / ManualOut of Print
  • 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

Series: Texts in Computational Science and Engineering Volume: 6

By: Hans Petter Langtangen(Author)

792 pages, 30 colour & 49 b/w illustrations


Hardback | Jul 2012 | Edition: 3 | #207180 | ISBN-13: 9783642302923
Out of Print Details

About this book

A Primer on Scientific Programming with Python 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. A Primer on Scientific Programming with Python 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, A Primer on Scientific Programming with Python lays a solid foundation for practicing computational science.


- Preface
- Computing with Formulas
- Loops and Lists
- Functions and Branching
- Input Data and Error Handling
- Array Computing and Curve Plotting
- Files, Strings and Dictionaries
- 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

Write a review

There are currently no reviews for this product. Be the first to review this product!


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.

Bestsellers in this subject

Computing for Biologists

NHBS Price: £34.99 $45/€38 approx

A Beginner's Guide to R

NHBS Price: £39.99 $52/€44 approx

Unix and Perl to the Rescue!

Clearance price: £7.50 £30.99 (Save £23.49) $10/€8 approx

SQL Pocket Guide

NHBS Price: £9.50 $12/€10 approx

Learning SQL

NHBS Price: £26.50 $34/€29 approx

VAT: GB 407 4846 44
NHBS Ltd is registered in England and Wales: 1875194