I thought that for a pendulum the angle had to be small, this is pi/2 though :(

This is my attempt at it : http://mathbin.net/45802 - I don't think it's right

How do you solve it, I'm stuck because \frac{d^2\theta}{dt^2} is not a function of time, it's a function of \theta :(