In 1814, he invented a slide rule to calculate the roots and powers of numbers. This formed the basis of slide rules that were common currency in schools and universities until the age of the calculator. He was also interested in optics and a paper on how the kaleidoscope could be improved. Later in his life, he attempted to construct a calculating machine. He also wrote on a wide range of topics, contributing to encyclopaedias of the day.