qnli question: Who invented the first tide-predicting machine in 1872? sentence: The tide-predicting machine invented by Sir William Thomson in 1872 was of great utility to navigation in shallow waters.