I have a simple pendulum that has equation:

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