* Pendulums are affected by gravity: The primary factor influencing a pendulum's period (the time it takes to complete one swing) is the acceleration due to gravity. Gravity is almost constant at sea level but changes slightly with altitude.
* The change in gravity with altitude is very small: Even at significant altitudes, the change in gravity is tiny, making it practically impossible to use a pendulum to measure altitude accurately.
* Other factors affect pendulum period: Things like air resistance, the length of the pendulum, and the amplitude of its swing also affect its period, making it difficult to isolate the effect of gravity changes.
What can be used to measure altitude:
* Barometers: These measure air pressure, which decreases with altitude.
* GPS: This system uses satellites to determine your precise location, including altitude.
* Altimeters: These are specialized instruments that measure altitude based on air pressure.
In short, while a pendulum is affected by gravity, the change in gravity with altitude is too small to be a reliable measure of altitude.