can anyone help me implement this?
显示 更早的评论
Numerical integration through Taylor series. Runge-Kutta method. Implementation.
Write a program that solves Cauchy's problem y '= f (x, y), y (x0) = y0.
The program can be used for an arbitrary function f, a step h, and the interval [x0, b].
Using this program to solve Cauchy's problem

Step h = 1 / 4. To approximate the values of the solution y in the points xi = h * I, with i = 16.
2 个评论
Rik
2020-6-9
This sounds like homework. What did you try yourself?
MATEI ALEXANDRU-GHEORGHE
2020-6-9
回答(1 个)
David H
2020-6-9
1 个投票
Check out the documentation of "ode45", this should give you some idea of where to start. This uses the Range Kutta shooting method and has some examples of solving differential equations.
类别
在 帮助中心 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!