Contents
ALGORITHMS
Site map
Links
Site and author
News
About the site
FAQ
Contact
TERMS OF USE
Contents - Differential equations - Euler's method

Modified Euler's method

This routine numerically integrates an ordinary differential equation y'=F(x,y), x∈ using a modified forward Euler's method.

The input parameters are given below:

  • X is a starting value of the independent variable X.
  • X1 is a point at which a solution is desired.
  • Y is an initial value of the dependent variable Y.
  • N is a number of steps to take.

The routine returns the value of the dependent variable Y at the desired point X1.

The user supplies the routine F, which returns the derivative y' at (x,y).

Report a bug

Source codes

C#

C# 1.0 source.
eulerm.csharp.zip - Modified Euler's method


C++

C++ source.
eulerm.cpp.zip - Modified Euler's method
ablas.zip - optimized basic linear algebra subroutines with SSE2 support (for C++ sources only)


Delphi

Delphi source.
Can be compiled under FPC (in Delphi compatibility mode).
eulerm.delphi.zip - Modified Euler's method


Visual Basic 6

Visual Basic 6 source.
eulerm.vb6.zip - Modified Euler's method


Zonnon beta

Zonnon source.
Zonnon is an experimental language developed at ETH Zurich.
See www.zonnon.ethz.ch for more information.
eulerm.zonnon.zip - Modified Euler's method



 
 
Sergey Bochkanov, Vladimir Bystritsky
Copyright © 1999-2008