how could measuring the orbit of a comet help scientists understand when it will next be visible from earth