- #1

- 479

- 4

## Homework Statement

Consider the initial value problem y' = f(t,y), y(t

_{0}) = y

_{0}

where f: R x R [tex]\rightarrow[/tex] R. An approximate solution to the problem can be found using Euler's method. This generates the approximation y

_{i}to f(t

_{i}) at t

_{i}= t

_{0}+ ih, i = 1,2,..., using the formula y

_{i}= y

_{i-1}+ hf(t

_{i-1},y

_{i-1}). Implement Euler's method and then show that your implementation is correct.

## Homework Equations

Eulers method equation.

## The Attempt at a Solution

I am not sure exactly what it is asking. Is it asking for a numerical example or what?