When will the magnitude of the displacement of the rod will be the largest

When will the magnitude of the displacement of the rod will be the largest