The Euler method is a procedure of numerical integration to solve ordinary differential equations from an initial value. To start, we have to make n intervals of h width:
h=nxn−xn−1
With this intervals, we get the points x0, x1, …, xn, where xi=x0+ih. The initial condition y(x0)=y0 is the point P0=(x0,y0) and we can evaluate the function in P0: