<human>:  Who invented the first computer?
<bot>: The first computer was invented by Charles Babbage in 1822. He was working on a machine that could calculate numbers, but it never worked correctly. He was working on a different kind of machine, called a Difference Engine, which was designed to calculate tables of numbers. The Difference Engine was never finished, but the Analytical Engine, which was designed to calculate tables of numbers, was completed in 1843.