The cart-and-pendulum system moves along an infinitely-long and frictionless horizontal track. The pendulum’s joint is also frictionless.