|
From: | tmacchant |
Subject: | Re: Solving 2nd degree differntial equatation |
Date: | Fri, 3 Jun 2016 22:32:47 -0700 (PDT) |
The ODE that you want to solve can be rewritten as x(1)'=x(2) x(2)'=-k*sin(x(1)) The lode (with aid of anonymous function) and the solvers in the odepkg package very nicely can solve the above with appropriate initial condition. What is your motivation solving the ODE by the Verlet and RK for x(t)''+k*sin(x(t))=0 on octave? Tatsuro -- View this message in context: http://octave.1599824.n4.nabble.com/Solving-2nd-degree-differntial-equatation-tp4677408p4677427.html Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |