Table of contents

  1. Front Matter
    Pages i-xxiii
  2. Svein Linge, Hans Petter Langtangen
    Pages 1-38 Open Access
  3. Svein Linge, Hans Petter Langtangen
    Pages 39-58 Open Access
  4. Svein Linge, Hans Petter Langtangen
    Pages 59-77 Open Access
  5. Svein Linge, Hans Petter Langtangen
    Pages 79-102 Open Access
  6. Svein Linge, Hans Petter Langtangen
    Pages 103-130 Open Access
  7. Svein Linge, Hans Petter Langtangen
    Pages 131-174 Open Access
  8. Svein Linge, Hans Petter Langtangen
    Pages 175-201 Open Access
  9. Svein Linge, Hans Petter Langtangen
    Pages 203-285 Open Access
  10. Svein Linge, Hans Petter Langtangen
    Pages 287-309 Open Access
  11. Back Matter
    Pages 311-332

About this book


This book is published open access under a CC BY 4.0 license.

This book presents computer programming as a key method for solving mathematical problems. This second edition of the well-received book has been extensively revised: All code is now written in Python version 3.6 (no longer version 2.7). In addition, the two first chapters of the previous edition have been extended and split up into five new chapters, thus expanding the introduction to programming from 50 to 150 pages. Throughout the book, the explanations provided are now more detailed, previous examples have been modified, and new sections, examples and exercises have been added. Also, a number of small errors have been corrected.

The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style employed is more accessible and concise, in keeping with the needs of engineering students.

The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows students to write simple programs for solving common mathematical problems with numerical methods in the context of engineering and science courses. The emphasis is on generic algorithms, clean program design, the use of functions, and automatic tests for verification.


programming Python verification numerical methods differential equations open access

Authors and affiliations

  • Svein Linge
    • 1
  • Hans Petter Langtangen
    • 2
  1. 1.Fac of Tech, Natural Sci & Maritime SciUniversity of South-Eastern NorwayPorsgrunnNorway
  2. 2.Simula Research Laboratory BioCompLysakerNorway

Bibliographic information

  • DOI
  • Copyright Information The Authors 2020
  • License CC BY
  • Publisher Name Springer, Cham
  • eBook Packages Mathematics and Statistics
  • Print ISBN 978-3-030-16876-6
  • Online ISBN 978-3-030-16877-3
  • Series Print ISSN 1611-0994
  • Series Online ISSN 2197-179X
  • Buy this book on publisher's site
Industry Sectors
Finance, Business & Banking
IT & Software
Energy, Utilities & Environment
Oil, Gas & Geosciences