Skip to content

Gryfenfer97/rk2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Runge-Kutta 2

A simple haskell module to compute differential equations with Runge-Kutta.

How to use

*Main> rk2 f x0 y0 xf step

For the function y' = f(x, y) = 0.2xy with y(1) = 2 and a step of 0.05
We compute y(1.5)

*Main> rk2 (\x y -> 0.2*x*y) 1 2 1.5 0.05

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published