The connection between gravity and orbits enables astronomers to measure the __________ of stars and planets.