General linear methods for y'' = f(y(t))