Calculus & Numerical Methods
Euler's Method (ODE)
Solve y' = f(x, y) from x₀ to x.
Formula
Formula
yn+1 = yn + h·f(xn, yn)
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| f | derivative function | expression / text | x, y | input |
| x₀, y₀ | initial condition | real number (ℝ) | — | input |
| x | target | real number (ℝ) | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenf(x, y) = x + y, x₀ = 0, y₀ = 1, target x = 1, steps = 1000
Result3.433847864
Example 2
Givenf(x, y) = y, x₀ = 0, y₀ = 1, target x = 1, steps = 1000
Result2.716923932