It is the simple Euler's method, an iterative approach in finding the y value for a given x value starting from a 1st order ODE. It asks the user the ODE function and the initial values and increment value. It also lets the user choose what termination criterion to use, either a specified x value or a number of iterations. If the solution curve for the given ODE is readily available, the user can input it and have the true %relative error.
Robby Ching (2020). Euler's method (https://www.mathworks.com/matlabcentral/fileexchange/77672-euler-s-method), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!