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


Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python (Texts in Computational Science and Engineering)
Authors: Svein Linge
ISBN-10 书号: 3319812823
ISBN-13 书号: 9783319812823
Edition 版本: Softcover reprint of the original 1st ed. 2016
Released: 2018-06-07
pages 页数: 248 pages


Book Description
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 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.
Contents
List of Exercises
1The First Few Steps
I即1.1What ls a Program?And What Is Programming?
IP1.2A Python Program with Variables
IP1.3A Python Program with a Library Function
P1.4A Python Program with Vectorization and
Plotting
1.5 More Basic Concepts
1.6Exercises
2 Basic Constructions
IP2.1 lf Tests,Colon and Indentation
P2.2Functions
P2.3 For Loops
P2.4 While Loops
P2.5 Lists and Tuples-Alternatives to Arrays
I2.6 Reading from and Writing to Files
IP2.7 Exercises
3 Computing Integrals
P3.1 Basic ldeas of Numerical Integration
P3.2The Composite Trapezoidal Rule
P3.3 The Composite Midpoint Method
即3.4Testing
I即3.5Vectorization
P3.6 Measuring Computational Speed
P3.7 Double and Triple Integrals
P3.8 Exercises
4 Solving Ordinary Differential Equations
IP4.1 Population Growth
IP4.2Spreading of Diseases
I即4.3Oscillating One-Dimensional Systems
I即4.4Exercises
5 Solving Partial Differential Equations
JP5.1 Finite Difference Methods
I即5.2 Exercises
6 Solving Nonlinear Algebraic Equations
6.1 Brute Force Methods
6.2 Newton's Method
IP6.3 The Secant Method
I即6.4The Bisection Method
IP6.5 Rate of Convergence
6.6Solving Multiple Nonlinear Algebraic Equations
P6.7 Exercises
A Getting Access to Python
IPA.1 Required Software
PA.2 Anaconda and Spyder
IPA.3 How to Write and Run a Python Program
IPA.4 The SageMathCloud and Wakari Web Services
IPA.5 Writing IPython Notebooks
References
Index

打赏
未经允许不得转载:finelybook » Programming for Computations – Python: A Gentle Introduction to Numerical Simulations with Python

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏