Cool thing about pendulums: The time it takes for one to swing forward and backward—the period—won’t change, no matter how wide it swings. If it’s got a lot of energy, it’ll swing farther and faster, but the period will still be the same. This is what mechanical clocks take advantage of to keep time. That period ends up being driven by two things, and two things only: the length of the pendulum and gravity.
Andy Weir in Project Hail Mary