Skip to content

Python Classical RK4 ODE Solver for System of Two Ordinary Differential Equations - possibility for extension to other ODE systems

Notifications You must be signed in to change notification settings

glider4/dualRKODE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dualRKODE

Python Classical RK4 ODE Solver for System of Two Ordinary Differential Equations

Mathematical calculations: https://math.stackexchange.com/questions/721076/

ODEs Used in Program

x'(t) = x(t) - y(t) + 2t - t^2 - t^3
y'(t) = x(t) + y(t) - 4t^2 + t^3

With the initial conditions
x(0) = 1
y(0) = 0
t in [0,1]

ODE solutions

x(t) = e^t * cos(t) + t^2
y(t) = e^t * sin(t) - t^3

Graphic Result

Using currently built-in ODEs and their solutions Dual ODE Result

About

Python Classical RK4 ODE Solver for System of Two Ordinary Differential Equations - possibility for extension to other ODE systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages