How to Use
Set up the problem:
- f(x,y): Right-hand side of dy/dx
- Initial: (x₀, y₀)
- Step size h: Smaller = more accurate
Accuracy
Local error: O(h²). Global error: O(h). Halving h halves the error. For better accuracy, use improved Euler (Heun) or Runge-Kutta (RK4) methods.
vs. RK4
Euler: 1 function evaluation/step, O(h) error. RK4: 4 evaluations/step, O(h⁴) error. RK4 is far more accurate for the same step count.
Step-by-Step Instructions
- 1Select a preset ODE.
- 2Set initial conditions.
- 3Choose step size.
- 4Set target x.
- 5View iteration table.