Calculus/Euler's Method

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search
← Optimization Calculus Extreme Value Theorem →
Euler's Method

Euler's Method is a method for estimating the value of a function based upon the values of that function's first derivative.

The general algorithm for finding a value of  y = f(x) \ is:

 y_{n+1} = y_n + \Delta x_{step} \cdot f'(x_n,y_n) \

[edit] Examples

The easiest way to keep track of the successive values generated by the algorithm is to draw a table with columns for  n, x_n, y_n, y_{n+1} \ .