Many calculators and computers in the 1930s and 1940s used relays, which are relatively slow, as switching elements. These two relays form a flip-flop.