can anyone help me implement this?

2 visualizzazioni (ultimi 30 giorni)
MATEI ALEXANDRU-GHEORGHE
MATEI ALEXANDRU-GHEORGHE il 9 Giu 2020
Risposto: David H il 9 Giu 2020
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 Commenti
Rik
Rik il 9 Giu 2020
This sounds like homework. What did you try yourself?
MATEI ALEXANDRU-GHEORGHE
MATEI ALEXANDRU-GHEORGHE il 9 Giu 2020
i dont know how to do it plz can u help? :))

Accedi per commentare.

Risposte (1)

David H
David H il 9 Giu 2020
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.

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by