Lab 21 · Lecture 21 · ODEs I: Taylor, Picard and Euler Methods

Euler and Heun Lab

Step your own differential equations with Euler and modified Euler, see the slope field, and measure how the error depends on h.

Type y′ = f(x, y) (use x and y), the initial point, the step h and the end point. Give the exact solution if you know it. The table shows every step of the first ticked method.