Next: Project
Up: First Order Differential Equation
Previous: First Order Differential Equation

Method Numeric, Euler's Algorithm

The Euler algorithm is possibly the simplest way to solve a differential equation. We start with the original equation and approximate the derivative of the function using the forward difference method.

Here we have assumed the time moves ahead in uniform ``ticks'' of length h.


Figure 1.1: Euler Algorithm

To find we only have to replace with and thereby progressively step outwards to find the solution for arbitrary values of t.



Next: Project
Up: First Order Differential Equation
Previous: First Order Differential Equation