Reviewing ODE solvers

Coded up primitive ODE solvers for Euler, RK2, RK4, RKF in Python on the plane and graphed comparative results.  Here they are for y' = 1 + y^2

The green points are Euler, red are Runge-Kutta second order, light-blue RK4, and small purple are Runge-Kutta-Fehlberg (lying on the blue line for the mathematical solution y= \tan(t + c)

Advertisements
Explore posts in the same categories: Research

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: