In: Advanced Math
Find y(0.5) for y′=-2x-y, x0=0,y0=-1, with step length 0.1 using Euler method (1st order derivative)
The Euler method is a first-order method, which means that the local error (error per step) is proportional to the square of the step size, and the global error (error at a given time) is proportional to the step size.Euler method (also called forward Euler method) is a first-order numerical procedure for solving ordinary differential equations (ODEs) with a given initial value. It is the most basic explicit method for numerical integration of ordinary differential equations
y(.5)= -7715