1.

Record Nr.

UNINA9910372750403321

Autore

Linge Svein

Titolo

Programming for Computations - Python [[electronic resource] ] : A Gentle Introduction to Numerical Simulations with Python 3.6 / / by Svein Linge, Hans Petter Langtangen

Pubbl/distr/stampa

Cham, : Springer Nature, 2020

Cham : , : Springer International Publishing : , : Imprint : Springer, , 2020

ISBN

3-030-16877-8

Edizione

[2nd ed. 2020.]

Descrizione fisica

1 online resource (332)

Collana

Texts in Computational Science and Engineering, , 1611-0994 ; ; 15

Disciplina

004

Soggetti

Computer mathematics

Numerical analysis

Computer software

Computational Science and Engineering

Numeric Computing

Mathematical Software

Numerical Analysis

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Nota di contenuto

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.

Sommario/riassunto

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.