Numerical integration of differential equations with EJS

Using EJS it is very easy to solve differential equations. Several algorithms for different methods are programmed and can be chosen at page Evolution with a mouse click. The steps of the variable x are automatically calculated, when the difference dx has been defined.

Differential equations of order n are separated into n coupled first order differential equations by substitution, and are calculated accordingly. For a 2nd order equation this leads to

y´´ = f( y, y´, x) ➔ y´ = dy/dx and y´´ = f( y, y´, x)

In this simulation with a ComboBox the formula is:

y´´ = (formula in field y´´, evaluated for x, y and )

In February 2011 EJS 4.3 presents the following methods :