human
How did the first computers work?
assistant
The first computers were electromechanical. They were called “analog computers” because they used analog signals to represent numbers and perform calculations. These early computers were built using relays, which are electronic switches that can be used to control electrical circuits. Relays were used in early computers to store data and perform mathematical operations.