项目作者: AlekseyKorshuk

项目描述 :
Numerical methods for ordinary differential equations: Euler, Improved Euler, Runge-Kutta.
高级语言: Python
项目地址: git://github.com/AlekseyKorshuk/numerical-methods.git
创建时间: 2021-10-23T20:02:53Z
项目社区:https://github.com/AlekseyKorshuk/numerical-methods

开源协议:

下载


Numerical methods

Numerical methods for ordinary differential equations are methods used to find numerical approximations to the solutions of ordinary differential equations (ODEs). Their use is also known as “numerical integration”, although this term can also refer to the computation of integrals.

In this app we use:

  • Euler
  • Improved Euler
  • Runge-Kutta

Check PDF report for more details.

How to use

You can install and run from source with:

  1. git clone https://github.com/AlekseyKorshuk/numerical-methods --recursive
  2. cd numerical-methods
  3. pip install -r requirements.txt
  4. python main.py

Now visit 127.0.0.1:8050.

Sample results

Graphs

Exact and numerical solutions

image

Total approximation error depending on the number of grid cells

image

Local truncation error

image

Global truncation error

image

UML diagram

image

Toggle callback graph

image