<human>:  I have a question about the difference between digital and analog computing. Who invented the first computer?
<bot>: The first computer was invented by Charles Babbage in 1822. It was an analog computer. An analog computer is a computer that uses physical quantities, such as voltage, current, and resistance, to represent numbers. An analog computer is also called a mechanical computer.