In this paper we use Lagrange's equation of motion to study a rotating rod carrying a collar. The focus is on how the shape of the rod affects the velocity of the collar. The calculus of variations is used to find the shape that gives the least time of travel along the rod.