1 function y = forward_euler1(x0, y0, f, h)
2 % Compute one iteration of the forward Euler method.
6 % * ``x0`` - The initial x-coordinate.
8 % * ``y0`` - The initial value y(x0).
10 % * ``f`` - The function y' = f(x,y) of two variables.
12 % * ``h`` - The step size.
16 % The approximate value of y(x) at x = x0+h.