Expand description
Euler method (first-order explicit).
Solves the initial value problem
dy/dx = f(x, y), y(x₀) = y₀using the forward Euler scheme:
y_{n+1} = y_n + h · f(x_n, y_n)Global truncation error: O(h).
Functions§
- solve
- Solve an IVP using the forward Euler method.