Skip to main content
1-Visitor
April 21, 2017
Solved

Runge-Kutta program for system of ODE in Mathcad

  • April 21, 2017
  • 2 replies
  • 8045 views

Hello!

So I have a program which finds solution for single ODE using Runga-Kutta method, but I need somehow to rewrite it to make it solve the system of two ODE. My question is, how I can make it done?

Best answer by ValeryOchkov

See please

9-25.png

2 replies

21-Topaz II
April 21, 2017

Tk(t) and Rk(t) are undefined. You can't use Runge-Kutta algorithm.

vnovikov1-VisitorAuthor
1-Visitor
April 21, 2017

offcourse I can, there 2 equations and 2 unknowns, Tk(tau) and R(tau) and I'm trying to find them. Actualy I already did it, by using ODEsovle, but my goal is to do it with own program, I don't want to solve it entirely via runge kutta, I want to solve it with adams bashforth method, but it requires 4 starting points, when I have just two (initial conditions) so I need to start with runge kutta method to get additional points and then continue with adams-bashforth method.

21-Topaz II
April 21, 2017

Fourth-order Runge-Kutta method.jpg

24-Ruby IV
April 21, 2017

See please

9-25.png

vnovikov1-VisitorAuthor
1-Visitor
April 21, 2017

Спасибо, этот вариант выглядит правильным, я попробую когда буду дома, я вижу вы из МЭИ? Я тоже, я студент первого курса магистратуры ИТАЭ. Эта программа очень мне пригодится для научной работы, у меря еще вопрос, а нет ли у вас подобной программы для метода Адамса-Башфорта? Этот метод реализуется в функции Odesolve в Mathcad.

24-Ruby IV
April 22, 2017

Vladimir Novikov написал(а):

Спасибо, этот вариант выглядит правильным, я попробую когда буду дома, я вижу вы из МЭИ? Я тоже, я студент первого курса магистратуры ИТАЭ. Эта программа очень мне пригодится для научной работы, у меря еще вопрос, а нет ли у вас подобной программы для метода Адамса-Башфорта? Этот метод реализуется в функции Odesolve в Mathcad.

Я рад, что могу помочь вам. С какой вы кафедры?

У меня есть ещё программа этого метода, но с переменным шагом.

В библиотеке МЭИ можно взять книгу с этюдом

Этюд 9. Движения планет: расчет и визуализация в среде Mathcad или Часы Кеплера