I have a simple pendulum that has equation:

$\displaystyle \ddot{\theta} + \omega^2 \sin{\theta} = 0$

My problem is that the examples I have come across in textbooks all refer the differential equation only on its first order, so what if I have a second order?

How should I implement it in runge kutta's method?

Thanks