1
$\begingroup$

I am facing a problem solving a ODE with a Runge-Kutta 4th order method:

The expression in order to solve is :

\begin{equation} Ay^{''}+By^{'}+Cy= Cu \end{equation}

\begin{equation} y =OUTPUT \end{equation}

\begin{equation} u=INPUT \end{equation}

We are using a sample time of 0.01s (with 0.001s sample time it does work), but the solver with some combinations of A,B and C does not converge. Then, we would like to know these combinations of A,B and C that make the method fail before start to using it.

Thanks in advance.

$\endgroup$

closed as off-topic by Joonas Ilmavirta, Chris Godsil, Alex Degtyarev, Douglas Zare, Christian Remling Jul 28 '15 at 20:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about research level mathematics within the scope defined in the help center." – Joonas Ilmavirta, Chris Godsil, Alex Degtyarev, Douglas Zare, Christian Remling
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ Whenever you have $ B^2-4AC<0$ you'd have better luck with a predictor corrector method. The short answer is because your solution is "oscillating". $\endgroup$ – Jeb Jul 28 '15 at 12:01
0
$\begingroup$

Here is the complete answer.

https://math.stackexchange.com/questions/1376678/runge-kutta-stability/1376710#1376710

Sorry for the duplication.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.