learn-physics-0.4.2: Haskell code for learning physics

Stabilityexperimental
MaintainerScott N. Walck <walck@lvc.edu>
Safe HaskellTrustworthy

Physics.Learn.RungeKutta

Description

Differential equation solving using 4th-order Runge-Kutta

Synopsis

Documentation

rungeKutta4 :: StateSpace p => (p -> Diff p) -> Time p -> p -> pSource

Take a single 4th-order Runge-Kutta step

integrateSystem :: StateSpace p => (p -> Diff p) -> Time p -> p -> [p]Source

Solve a first-order system of differential equations with 4th-order Runge-Kutta