𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Programming for Computations: Python: A Gentle Introduction to Numerical Simulations with Python

✍ Scribed by Svein Linge; Hans Petter Langtangen


Publisher
Springer
Year
2016
Tongue
English
Leaves
244
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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.

✦ Table of Contents


Preface
Contents
List of Exercises
1 The First Few Steps
1.1 What Is a Program? And What Is Programming?
1.2 A Python Program with Variables
1.3 A Python Program with a Library Function
1.4 A Python Program with Vectorization and Plotting
1.5 More Basic Concepts
1.6 Exercises
2 Basic Constructions
2.1 If Tests, Colon and Indentation
2.2 Functions
2.3 For Loops
2.4 While Loops
2.5 Lists and Tuples – Alternatives to Arrays
2.6 Reading from and Writing to Files
2.7 Exercises
3 Computing Integrals
3.1 Basic Ideas of Numerical Integration
3.2 The Composite Trapezoidal Rule
3.3 The Composite Midpoint Method
3.4 Testing
3.5 Vectorization
3.6 Measuring Computational Speed
3.7 Double and Triple Integrals
3.8 Exercises
4 Solving Ordinary Differential Equations
4.1 Population Growth
4.2 Spreading of Diseases
4.3 Oscillating One-Dimensional Systems
4.4 Exercises
5 Solving Partial Differential Equations
5.1 Finite Difference Methods
5.2 Exercises
6 Solving Nonlinear Algebraic Equations
6.1 Brute Force Methods
6.2 Newton's Method
6.3 The Secant Method
6.4 The Bisection Method
6.5 Rate of Convergence
6.6 Solving Multiple Nonlinear Algebraic Equations
6.7 Exercises
A Getting Access to Python
A.1 Required Software
A.2 Anaconda and Spyder
A.3 How to Write and Run a Python Program
A.4 The SageMathCloud and Wakari Web Services
A.5 Writing IPython Notebooks
References
Index


πŸ“œ SIMILAR VOLUMES


Programming for Computations - Python: A
✍ Svein Linge, Hans Petter Langtangen (auth.) πŸ“‚ Library πŸ“… 2016 πŸ› Springer International Publishing 🌐 English

<p><p>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

Programming for Computations - Python A
✍ Svein Linge, Hans Petter Langtangen πŸ“‚ Library πŸ“… 2016 πŸ› Springer 🌐 English

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 a

Programming For Computations - Python: A
✍ Svein Linge, Hans Petter Langtangen πŸ“‚ Library πŸ“… 2020 πŸ› Springer 🌐 English

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).

Programming for Computations - Python: A
✍ Svein Linge, Hans Petter Langtangen πŸ“‚ Library πŸ“… 2019 πŸ› Springer 🌐 English

<div> <p>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 vers

Programming for Computations - MATLAB/Oc
✍ Svein Linge, Hans Petter Langtangen (auth.) πŸ“‚ Library πŸ“… 2016 πŸ› Springer International Publishing 🌐 English

<p><p>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