Programming for Computations - Python [electronic resource] :A Gentle Introduction to Numerical Simulations with Python 3.6 / by Svein Linge, Hans Petter Langtangen.
Contributor(s): Langtangen, Hans Petter [author.] | SpringerLink (Online service).Material type: BookSeries: Texts in Computational Science and Engineering: 15Publisher: Cham : Springer International Publishing : Imprint: Springer, 2020.Edition: 2nd ed. 2020.Description: XXIII, 332 p. 65 illus., 58 illus. in color. online resource.Content type: text Media type: computer Carrier type: online resourceISBN: 9783030168773.Subject(s): Computer mathematics | Numerical analysis | Computer software | Computational Science and Engineering | Numeric Computing | Mathematical Software | Numerical AnalysisDDC classification: 004 Online resources: Click here to access online
Preface -- 1 The first few steps -- 2 A few steps more -- 3 Loops and branching -- 4 Functions and the writing of code -- 5 Some more Python essentials -- 6 Computing integrals and testing code -- 7 Solving nonlinear algebraic equations -- 8 Solving ordinary differential equations -- 9 Solving partial differential equations -- A Installation and use of Python -- References -- Index.
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.