A brief procedural introduction on how to use Matlab's built in ode45 solver to validate solutions to first order equations.
Matlab's ode45 solver is based on a Runge-Kutta (4,5) method for numerically solving differential equations (hence the 4-5 in the name). If you would like to learn more about the mathematics behind this and ODE solvers in Matlab, please see the article: https://www.mathworks.com/help/pdf_do...
You can also find more information in this blog post from Cleve Moler, the inventor of Matlab: https://blogs.mathworks.com/cleve/201....