we assume that friction is negligible, that all of the mass is concentrated at the end, and that the rod has unit length.
from newton's law for rotating objects, there result, in terms of the variable S that describes the counterclockwise angle with respect to the vertical, the second-order nonlinear differential equation.