1.
The earliest calculating device—other than one's fingers and toes—was likely an abacus, first used in Babylon, originally no more than markings in the dust. By the Middle Ages, it took its familiar form in Europe and Asia, where the position of beads on a wire represent numbers and can be used to perform simple tasks such as addition and subtraction, as well as more abstract functions such as multiplication, division, and square roots. Soon, however, the introduction of Arabic numerals to Europe and the development of higher mathematical concepts such as logarithms could not be easily represented by beads on a wire, and so pen and paper replaced the abacus.2.
In the sixteenth century, John Napier (Scottish mathematician, 1550-1617) developed logarithms, a mathematical concept that allowed the process of multiplication to be broken down into a series of discrete steps using addition. He produced a device, known as Napier's Bones, which simplified multiplication and was the forerunner of the slide rule.
3.
Wilhelm Schickard (German scientist and mathematician, 1592-1635) built the first mechanical calculating device in 1623, which incorporated a set of Napier's Bones. The device could add, subtract, multiply, and divide.4.
Blaise Pascal (French mathematician and philospher, 1623-1662) developed the Pascaline, a mechanical adding machine, in 1642. His father was a tax commissioner, and his device was a way to mechanize the labor of calculating tax tables in an age in which the dominant technology was that of clocks and gears. Numbers were represented by the positions of gears in the mechanism, and calculation consisted of physically changing the angle of the gears.5.
The Stepped Reckoner, invented by Gottfried Wilhelm Leibniz (German philosopher and mathematician, 1646-1716), could calculate square roots as well as basic arithmetic functions. It used gears and a movable carriage, which were also featured in later adding machines and the nineteenth-century mechanical typewriter.6.
In the mid-nineteenth century, Charles Babbage (English mathematician and philosopher, 1791-1871) and Lady Ada Lovelace (English program creator, 1815-52) began their collaboration on the Analytical Engine, the successor to Babbage's Difference Engine, a mechanical calculating machine. The Difference Engine could perform certain arithmetic functions to twenty decimals, and its construction required a great many engineering advances, many of which Babbage developed himself. He began work on the Difference Engine as a means to calculate tide tables for the British Navy, but he abandoned the project halfway through for the more ambitious Analytic Engine, which he never completed. While most machines of the time were single purpose—designed and built to perform a single mathematical task such as addition—the Analytical Engine was conceived to perform any arithmetic function and, more importantly, it could make decisions on the basis of its calculations. In effect, it could think for itself. While Babbage is given credit for the Analytical Engine's design, Lovelace is credited as the first programmer. An early programming language, Ada, was named after her.