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 Kommentare

Rik
Rik am 9 Jun. 2020
This sounds like homework. What did you try yourself?
i dont know how to do it plz can u help? :))

Melden Sie sich an, um zu kommentieren.

Antworten (1)

David H
David H am 9 Jun. 2020

1 Stimme

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.

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange

Tags

Beantwortet:

am 9 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by