A class of nonlinear differential equations of second order in time