Hello. First post here.(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to write a program (from scratch) to simulate a double inverted pendulum (a cart with 2 pendulums one on top of the other). The system is modelled with a system of 3 second order ODE's, which I need to solve numerically using Runge Kutta. I know how to solve a system of first order ODE's numerically but not a system of second order ODE's. The equations are shown in this paper (there's no point in me re-writing them here):

http://www.tf.uni-kiel.de/etech/ART/paper/2001/ieee_cca_isic_zhong.pdf [Broken]

(equations 4 to 6)

So can anyone tell me how to go about solving this initial value problem numerically? I have looked in many books but can only find examples of systems of first order equations and single second order equations.

Thanks

Peter Bone

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Systems of second order ODE's

Loading...

Similar Threads for Systems second order | Date |
---|---|

System of ODE of second order | Jul 29, 2015 |

System of two second order ODE's | Jan 4, 2015 |

Second order system of odes with variable coefficients | Apr 28, 2014 |

Midpoint Euler method, second order system | Jun 12, 2013 |

Numerical method to use on a system of second order nonlinear ODE's | May 21, 2013 |

**Physics Forums - The Fusion of Science and Community**