Skip to main content
  • Textbook
  • Open Access
  • © 2016

Programming for Computations - Python

A Gentle Introduction to Numerical Simulations with Python

Authors:

(view affiliations)
  • Easy-to-read text offering a gentle introduction to the necessary mathematics and computer science concepts

  • Focuses on explaining all details of how to construct programs to solve mathematical problems

  • Further emphasizes verification procedures and how to embed them in automatic test frameworks

  • Includes supplementary material: sn.pub/extras

Part of the book series: Texts in Computational Science and Engineering (TCSE, volume 15)

Buying options

Softcover Book
USD 59.99
Price excludes VAT (USA)

Table of contents (6 chapters)

  1. Front Matter

    Pages i-xvi
  2. The First Few Steps

    • Svein Linge, Hans Petter Langtangen
    Pages 1-28Open Access
  3. Basic Constructions

    • Svein Linge, Hans Petter Langtangen
    Pages 29-53Open Access
  4. Computing Integrals

    • Svein Linge, Hans Petter Langtangen
    Pages 55-93Open Access
  5. Solving Ordinary Differential Equations

    • Svein Linge, Hans Petter Langtangen
    Pages 95-160Open Access
  6. Solving Partial Differential Equations

    • Svein Linge, Hans Petter Langtangen
    Pages 161-183Open Access
  7. Solving Nonlinear Algebraic Equations

    • Svein Linge, Hans Petter Langtangen
    Pages 185-208Open Access
  8. Back Matter

    Pages 209-232

About this book

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style 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 the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

Keywords

  • programming
  • Python
  • verification
  • numerical methods
  • differential equations

Reviews

“The book uses programming to impart a deeper understanding of the pragmatic meaning of some of the mathematics most frequently used in engineering and the sciences. … This very good introductory textbook could be used in a variety of courses. A motivated reader with knowledge of calculus could easily use it for self-study. I highly recommend it.” (David Naugler, Computing Reviews, February, 2017)

“This book is intended for novice programmers, especially students, teachers, engineers and scientists from areas related to mathematics and numerical mathematics. … each treated concept is illustrated and explained in detail by means of working examples. On the basis of exercises, the reader is given the opportunity to deepen acquired knowledge. … The clear presentation and the large number of concrete examples, often with a graphical output, make this book ideally suited for self-study and ensures a quick success.” (Stefan Meyer, zbMATH 1350.68003, 2017)

Authors and Affiliations

  • Process,Energy&Environmental Technology, University College of Southeast Norway, Porsgrunn, Norway

    Svein Linge

  • Simula Research Laboratory BioComp, Lysaker, Norway

    Hans Petter Langtangen

About the authors


Svein Linge is a professor of modelling and simulation at the University College of Southeast Norway and holds a Dr. Scient. degree in biomechanics from the Norwegian School of Sport Sciences. He works part-time at a Norwegian Center of Excellence: "Center for Biomedical Computing", at Simula Research Laboratory, to which he has been linked for the last 13 years. His main research interests includes cerebrospinal fluid dynamics, cardiac electro-mechanics and sport biomechanics. Over the last decade, Linge has been particularly engaged in reforming the engineering education in mathematics and physics to take advantage of computer programming and simulation.

Hans Petter Langtangen is a professor of computer science at the University of Oslo. He has formerly 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 the bestseller TCSE 6 "A Primer on Scientific Programming with Python", now in its 5th edition. He has also developed open source and commercial software systems for computational sciences.

Bibliographic Information

Buying options

Softcover Book
USD 59.99
Price excludes VAT (USA)