Skip to content

Numerical methods for ordinary differential equations: Euler, Improved Euler, Runge-Kutta.

License

Notifications You must be signed in to change notification settings

AlekseyKorshuk/numerical-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

git clone https://github.com/AlekseyKorshuk/numerical-methods --recursive
cd numerical-methods
pip install -r requirements.txt
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