Programming for Computations – MATLAB/Octave
This book presents computer programming as a key method for solving mathematical problems using MATLAB and Octave. There are two versions of the book, one for MATLAB and one for Python. The book was based on Langtangen’s Springer book TCSE 6: A Primer on Scientific Programming with Python, but it is easier to understand and shorter, which is what engineering students need.
The book outlines the shortest possible path from no previous experience with programming to a set of skills that allow the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The focus is on generic algorithms, clean program design, the use of functions, and automatic tests to make sure the code works.
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 using working examples.
This book is open access under a CC BY license.
About the Authors
Svein Linge is a professor of modeling and simulation at the University College of Southeast Norway and holds a Dr. Scient. degree in biomechanics from the Norwegian School of Sport Sciences.
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, the “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 the computational sciences.
Table of contents:
The First Few Steps
Few More Steps
oops and Branching
functions and the Writing of Code
Some More Python Essentials
Computing Integrals and Testing Code
Solving Nonlinear Algebraic Equations
Solving Ordinary Differential Equations
Solving Partial Differential Equations
Programming For Computations – Python: A Gentle Introduction To Numerical Simulations With Python 3.6
Author(s): Svein Linge, Hans Petter Langtangen
Series: Texts In Computational Science And Engineering v. 15
Publisher: Springer, Year: 2020