In 1821, 30-year-old inventor and mathematician Charles Babbage was poring over a set of printed mathematical tables with his friend, the astronomer John Herschel. Finding…