File Exchange

image thumbnail

Euler's method

version 1.0.0 (2.24 KB) by Robby Ching
A numerical method in solving an Initial value problem of a 1st order Ordinary Differential equation

1 Download

Updated 03 Jul 2020

View License

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.

Cite As

Robby Ching (2020). Euler's method (https://www.mathworks.com/matlabcentral/fileexchange/77672-euler-s-method), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!