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