lecture05: autonomous problems: the catenary