Text this: Melnikov Method for a Class of Generalized Ziegler Pendulums