Computers—the machines we think with
The Project Gutenberg eBook of Computers—the machines we think with This eBook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this eBook or online at www.gutenberg.org. If you are not located in the United States, you will have to check the laws of the country where you are located before using this eBook. Title: Computers—the machines we think with Author: D. S. Halacy Release date: January 1, 2024 [eBook #72572] Most recently updated: June 29, 2025 Language: English Original publication: New York: Harper & Row, 1962 Other information and formats: www.gutenberg.org/ebooks/72572 Credits: Aaron Adrignola, Tim Lindell, Linda Cantoni and the Online Distributed Proofreading Team at https://www.pgdp.net (This book was produced from images made available by the HathiTrust Digital Library.) *** START OF THE PROJECT GUTENBERG EBOOK COMPUTERS—THE MACHINES WE THINK WITH *** COMPUTERS—THE MACHINES WE THINK WITH ------------------------------------------------------------------------ Computers— THE MACHINES WE THINK WITH D. S. HALACY, JR. [Illustration] HARPER & ROW, PUBLISHERS NEW YORK, EVANSTON, AND LONDON ------------------------------------------------------------------------ COMPUTERS—THE MACHINES WE THINK WITH. _Copyright © 1962, by Daniel S. Halacy, Jr. Printed in th
The Project Gutenberg eBook of Computers—the machines we think with
This eBook is for the use of anyone anywhere in the United States and
most other parts of the world at no cost and with almost no restrictions
whatsoever. You may copy it, give it away or re-use it under the terms
of the Project Gutenberg License included with this eBook or online
at www.gutenberg.org. If you are not located in the United States,
you will have to check the laws of the country where you are located
before using this eBook.
Title: Computers—the machines we think with
Author: D. S. Halacy
Release date: January 1, 2024 [eBook #72572]
Most recently updated: June 29, 2025
Language: English
Original publication: New York: Harper & Row, 1962
Other information and formats: www.gutenberg.org/ebooks/72572
Credits: Aaron Adrignola, Tim Lindell, Linda Cantoni and the Online Distributed Proofreading Team at https://www.pgdp.net (This book was produced from images made available by the HathiTrust Digital Library.)
*** START OF THE PROJECT GUTENBERG EBOOK COMPUTERS—THE MACHINES WE THINK WITH ***
COMPUTERS—THE MACHINES WE THINK WITH
------------------------------------------------------------------------
Computers—
THE MACHINES WE THINK WITH
D. S. HALACY, JR.
[Illustration]
HARPER & ROW, PUBLISHERS
NEW YORK, EVANSTON, AND LONDON
------------------------------------------------------------------------
COMPUTERS—THE MACHINES WE THINK WITH. _Copyright © 1962, by Daniel S.
Halacy, Jr. Printed in the United States of America. All rights in this
book are reserved. No part of the book may be used or reproduced in any
manner whatsoever without written permission except in the case of brief
quotations embodied in critical articles and reviews. For information
address Harper & Row, Publishers, Incorporated, 49 East 33rd Street, New
York 16, N.Y._
_Library of Congress catalog card number: 62-14564_
F-S
------------------------------------------------------------------------
Contents
1. Computers—The Machines We Think With 1
2. The Computer’s Past 18
3. How Computers Work 48
4. Computer Cousins—Analog and Digital 72
5. The Binary Boolean Bit 96
6. The Electronic Brain 121
7. Uncle Sam’s Computers 147
8. The Computer in Business and Industry 171
9. The Computer and Automation 201
10. The Academic Computer 219
11. The Road Ahead 251
------------------------------------------------------------------------
COMPUTERS—THE MACHINES WE THINK WITH
------------------------------------------------------------------------
1: Computers—The Machines
We Think With
While you are reading this sentence, an electronic computer is
performing 3 million mathematical operations! Before you read this page,
another computer could translate it and several others into a foreign
language. Electronic “brains” are taking over chores that include the
calculation of everything from automobile parking fees to zero hour for
space missile launchings.
Despite bitter winter weather, a recent conference on computers drew
some 4,000 delegates to Washington, D.C.; indicating the importance and
scope of the new industry. The 1962 domestic market for computers and
associated equipment is estimated at just under $3 billion, with more
than 150,000 people employed in manufacture, operation, and maintenance
of the machines.
In the short time since the first electronic computer made its
appearance, these thinking machines have made such fantastic strides in
so many different directions that most of us are unaware how much our
lives are already being affected by them. Banking, for example, employs
complex machines that process checks and handle accounts so much faster
than human bookkeepers that they do more than an hour’s work in less
than thirty seconds.
[Illustration:
_General Electric Co., Computer Dept._
Programmer at console of computer used in electronic processing of
bank checking accounts.
]
Our government is one of the largest users of computers and
“data-processing machines.” The census depends on such equipment, and it
played a part in the development of early mechanical types of computers
when Hollerith invented a punched-card system many years ago. In another
application, the post office uses letter readers that scan addresses and
sort mail at speeds faster than the human eye can keep up with. Many
magazines have put these electronic readers to work whizzing through
mailing lists.
[Illustration:
_General Electric Co., Computer Dept._
Numbers across bottom of check are printed in magnetic ink and can be
read by the computer.
]
In Sweden, writer Astrid Lindgren received additional royalties for one
year of 9,000 _kronor_ because of library loans. Since this was based on
850,000 total loans of her books from thousands of schools and
libraries, the bookkeeping was possible only with an electronic
computer.
Computers are beginning to take over control of factories, steel mills,
bakeries, chemical plants, and even the manufacture of ice cream. In
scientific research, computers are solving mathematical and logical
problems so complex that they would go forever unsolved if men had to do
the work. One of the largest computing systems yet designed,
incorporating half a million transistors and millions of other parts,
handles ticket reservations for the airlines. Others do flight planning
and air traffic control itself.
Gigantic computerized air defense systems like SAGE and NORAD help guard
us from enemy attack. When John Glenn made his space flight, giant
computers on the ground made the vital calculations to bring him safely
back. Tiny computers in space vehicles themselves have proved they can
survive the shocks of launching and the environment of space. These
airborne computers make possible the operation of Polaris, Atlas, and
Minuteman missiles. Such applications are indicative of the scope of
computer technology today; the ground-based machines are huge, taking up
rooms and even entire buildings while those tailored for missiles may
fit in the palm of the hand. One current military project is such an
airborne computer, the size of a pack of cigarettes yet able to perform
thousands of mathematical and logical operations a second.
Computers are a vital part of automation, and already they are running
production lines and railroads, making mechanical drawings and weather
predictions, and figuring statistics for insurance companies as well as
odds for gamblers. Electronic machines permit the blind to read a page
of ordinary type, and also control material patterns in knitting mills.
This last use is of particular interest since it represents almost a
full circle in computer science. Oddly, it was the loom that inspired
the first punched cards invented and used to good advantage by the
French designer Jacquard. These homely forerunners of stored information
sparked the science that now returns to control the mills.
Men very wisely are now letting computers design other computers, and in
one recent project a Bell Laboratories computer did a job in twenty-five
minutes that would have taken a human designer a month. Even more
challenging are the modern-day “robots” performing precision operations
in industrial plants. One such, called “Unimate,” is simply guided
through the mechanical operations one time, and can then handle the job
alone. “TransfeRobot 200” is already doing assembly-line work in dozens
of plants.
The hope has been expressed that computer extension of our brainpower by
a thousandfold would give our country a lead over potential enemies.
This is a rather vain hope, since the United States has no corner on the
computer market. There is worldwide interest in computers, and machines
are being built in Russia, England, France, Germany, Switzerland,
Holland, Sweden, Africa, Japan, and other countries. A remarkable
computer in Japan recognizes 8,000 colors and analyzes them instantly.
Computer translation from one language to another has been mentioned,
and work is even being done on machines that will permit us to speak
English into a phone in this country and have it come out French, or
whatever we will, overseas! Of course, computers have a terminology all
their own too; words like analog and digital, memory cores, clock rates,
and so on.
The broad application of computers has been called the “second
industrial revolution.” What the steam engine did for muscles, the
modern computer is beginning to do for our brains. In their slow climb
from caveman days, humans have encountered ever more problems; one of
the biggest of these problems eventually came to be merely how to solve
all the other problems.
At first man counted on his fingers, and then his toes. As the problems
grew in size, he used pebbles and sticks, and finally beads. These
became the abacus, a clever calculating device still in constant use in
many parts of the world. Only now, with the advent of low-cost
computers, are the Japanese turning from the _soroban_, their version of
the abacus.
The large-scale computers we are becoming familiar with are not really
as new as they seem. An Englishman named Babbage built what he called
a “difference engine” way back in 1831. This complex mechanical
computer cost a huge sum even by today’s standards, and although it
was never completed to Babbage’s satisfaction, it was the forerunner
and model for the successful large computers that began to appear a
hundred years later. In the meantime, of course, electronics has come
to the aid of the designer. Today, computer switches operate at
billionths-of-a-second speeds and thus make possible the rapid
handling of quantities of work like the 14 billion checks we
Americans wrote in 1961.
There are dozens of companies now in the computer manufacturing field,
producing a variety of machines ranging in price from less than a
hundred dollars total price to rental fees of $100,000 a month or more.
Even at these higher prices the big problem of some manufacturers is to
keep up with demand. A $1 billion market in 1960, the computer field is
predicted to climb to $5 billion by 1965, and after that it is anyone’s
guess. Thus far all expert predictions have proved extremely
conservative.
The path of computer progress is not always smooth. Recently a computer
which had been installed on a toll road to calculate charges was so
badly treated by motorists it had to be removed. Another unfortunate
occurrence happened on Wall Street. A clever man juggled the controls of
a large computer used in stock-market work and “made” himself a quarter
of a million dollars, though he ultimately landed in jail for his
illegal computer button pushing. Interestingly, there is one corrective
institution which already offers a course in computer engineering for
its inmates.
So great is the impact of computers that lawyers recently met for a
three-day conference on the legal aspects of the new machines. Points
taken up included: Can business records on magnetic tape or other
storage media be used as evidence? Can companies be charged with
mismanagement for not using computers in their business? How can
confidential material be handled satisfactorily on computers?
Along with computing machines a whole new technology is growing.
Universities and colleges—even high schools—are teaching courses in
computers. And the computer itself is getting into the teaching business
too. The “teaching machine” is one of the most challenging computer
developments to come along so far. These mechanical professors range
from simple “programmed” notebooks, such as the Book of Knowledge and
Encyclopedia Britannica are experimenting with, to complex computerized
systems such as that developed by U.S. Industries, Inc., for the Air
Force and others.
The computer as a teaching machine immediately raises the question of
intelligence, and whether or not the computer has any. Debate waxes hot
on this subject; but perhaps one authority was only half joking when he
said that the computer designer’s competition was a unit about the size
of a grapefruit, using only a tenth of a volt of electricity, with a
memory 10,000 times as extensive as any existing electronic computer.
This is a brief description of the human brain, of course.
When the first computers appeared, those like ENIAC and BINAC, fiction
writers and even some science writers had a field day turning the
machines into diabolical “brains.” Whether or not the computer really
thinks remains a controversial question. Some top scientists claim that
the computer will eventually be far smarter than its human builder;
equally reputable authorities are just as sure that no computer will
ever have an original thought in its head. Perhaps a safe middle road is
expressed with the title of this book; namely that the machine is simply
an extension of the human brain. A high-speed abacus or slide rule, if
you will; accurate and foolproof, but a moron nonetheless.
There are some interesting machine-brain parallels, of course. Besides
its ability to do mathematics, the computer can perform logical
reasoning and even make decisions. It can read and translate;
remembering is a basic part of its function. Scientists are now even
talking of making computers “dream” in an attempt to come up with new
ideas!
More similarities are being discovered or suggested. For instance, the
interconnections in a computer are being compared with, and even crudely
patterned after, the brain’s neurons. A new scientific discipline,
called “bionics,” concerns itself with such studies. Far from being a
one-way street, bionics works both ways so that engineers and biologists
alike benefit. In fact, some new courses being taught in universities
are designed to “bridge the gap between engineering and biology.”
At one time the only learning a computer had was “soldered in”; today
the machines are being “forced” to learn by the application of
punishment or reward as necessary. “Free” learning in computers of the
Perceptron class is being experimented with. These studies, and
statements like those of renowned scientist Linus Pauling that he
expects a “molecular theory” of learning in human beings to be
developed, are food for thought as we consider the parallels our
electronic machines share with us. Psychologists at the University of
London foresee computers not only training humans, but actually watching
over them and predicting imminent nervous breakdowns in their charges!
[Illustration:
_Cornell Aeronautical Laboratory_
Bank of “association” units in Mark I Perceptron, a machine that
“learns” from experience.
]
To demonstrate their skill many computers play games of tick-tack-toe,
checkers, chess, Nim, and the like. A simple electromechanical computer
designed for young people to build can be programmed to play
tick-tack-toe expertly. Checker- and chess-playing computers are more
sophisticated, many of them learning as they play and capable of an
occasional move classed as brilliant by expert human players. The IBM
704 computer has been programmed to inspect the results of its possible
decisions several moves ahead and to select the best choice. At the end
of the game it prints out the winner and thanks its opponent for the
game. Rated as polite, but only an indifferent player by experts, the
computer is much like the checker-playing dog whose master scoffed at
him for getting beaten three games out of five. Chess may well be an
ultimate challenge for any kind of brain, since the fastest computer in
operation today could not possibly work out all the possible moves in a
game during a human lifetime!
As evidenced in the science-fiction treatment early machines got, the
first computers were monsters at least in size. Pioneering design
efforts on machines with the capacity of the brain led to plans for
something roughly the size of the Pentagon, equipped with its own
Niagara for power and cooling, and a price tag the world couldn’t
afford. As often seems to happen when a need arises, though, new
developments have come along to offset the initial obstacles of size and
cost.
One such development was the transistor and other semiconductor devices.
Tiny and rugged, these components require little power. With the old
vacuum-tubes replaced, computers shrank immediately and dramatically. On
the heels of this micro-miniaturization have come new and even smaller
devices called “ferrite cores” and “cryotrons” using magnetism and
supercold temperatures instead of conventional electronic techniques.
As a result, an amazing number of parts can be packed into a tiny
volume. So-called “molecular electronics” now seems to be a possibility,
and designers of computers have a gleam in their eyes as they consider
progress being made toward matching the “packaging density” of the
brain. This human computer has an estimated 100 billion parts per cubic
foot!
We have talked of reading and translating. Some new computers can also
accept voice commands and speak themselves. Others furnish information
in typed or printed form, punched cards, or a display on a tube or
screen.
Like us, the computer can be frustrated by a task beyond its
capabilities. A wrong command can set its parts clicking rapidly but in
futile circles. Early computers, for example, could be panicked by the
order to divide a number by zero. The solution to that problem of course
is infinity, and the poor machine had a hard time trying to make such an
answer good.
[Illustration:
_Aeronutronic Division, Ford Motor Co._
This printed-circuit card contains more than 300 BIAX memory elements.
Multiples of such cards mounted in computers store large amounts of
information.
]
There are other, quainter stories like that of the pioneer General
Electric computer that simply could not function in the dark. All day
long it hummed efficiently, but problems left with it overnight came out
horribly botched for no reason that engineers could discover. At last it
was found that a light had to be left burning with the scary machine!
Neon bulbs in the computer were enough affected by light and darkness
that the delicate electronic balance of the machine had been upset.
Among the computer’s unusual talents is the ability to compose music.
Such music has been published and is of a quality to give rise to
thoughtful speculation that perhaps great composers are simply good
selectors of music. In other words, all the combinations of notes and
meter exist: the composer just picks the right ones. No less an
authority than Aaron Copland suggests that “we’ll get our new music by
feeding information into an electronic computer.” Not content with
merely writing music, some computers can even play a tune. At Christmas
time, carols are rendered by computers specially programmed for the
task. The result is not unlike a melody played on a pipe organ.
In an interesting switch of this musical ability on the part of the
machine, Russian engineers check the reliability of their computers by
having them memorize Mozart and Grieg. Each part of the complex machines
is assigned a definite musical value, and when the composition is
“played back” by the computer, the engineer can spot any defects
existing in its circuitry. Such computer maintenance would seem to be an
ideal field for the music lover.
In a playful mood, computers match pennies with visitors, explain their
inner workings as they whiz through complex mathematics, and are even
capable of what is called heuristic reasoning. This amounts to playing
hunches to reach short-cut solutions to otherwise unsolvable problems. A
Rand Corporation computer named JOHNNIAC demonstrated this recently. It
was given some basic axioms and asked to prove some theorems. JOHNNIAC
came up with the answers, and in one case produced a proof that was
simpler than that given in the text. As one scientist puts it, “If
computers don’t really think, they at least put on a pretty creditable
imitation of the real thing.”
Computers are here to stay; this has been established beyond doubt. The
only question remaining is how fast the predictions made by dreamers and
science-fiction writers—and now by sober scientists—will come to be a
reality. When we consider that in the few years since the 1953 crop of
computers, their capacity and speed has been increased more than
fiftyfold, and is expected to jump another thousandfold in two years,
these dreams begin to sound more and more plausible.
One quite probable use for computers is medical diagnosis and
prescription of treatment. Electronic equipment can already monitor an
ailing patient, and send an alarm when help is needed. We may one day
see computers with a built-in bedside manner aiding the family doctor.
The accomplished inroads of computing machines in business are as
nothing to what will eventually take place. Already computer
“game-playing” has extended to business management, and serious
executives participate to improve their administrative ability. We speak
of decision-making machines; business decisions are logical applications
for this ability. Computers have been given the job of evaluating
personnel and assigning salaries on a strictly logical basis. Perhaps
this is why in surveys questioning increased use of the machines, each
executive level in general tends to rate the machine’s ability just
below its own.
Other games played by the computer are war games, and computers like
SAGE are well known. This system not only monitors all air activity but
also makes decisions, assigns targets, and then even flies the
interceptor planes and guided missiles on their missions. Again in the
sky, the increase of commercial air traffic has perhaps reached the
limit of human ability to control it. Computers are beginning to take
over here too, planning flights and literally flying the planes.
Surface transport can also be computer-controlled. Railroads are
beginning to use the computer techniques, and automatic highways are
inevitable. Ships also benefit, and special systems coupled to radar can
predict courses and take corrective action when necessary.
Men seem to have temporarily given up trying to control the weather, but
using computers, meteorologists can take the huge mass of data from all
over the world and make predictions rapidly enough to be of use.
We have talked of the computer’s giant strides in banking. Its wide use
in stores is not far off. An English computer firm has designed an
automatic supermarket that assembles ordered items, prices them, and
delivers them to the check stand. At the same time it keeps a running
inventory, price record, and profit and loss statement, besides billing
the customer with periodic statements. The storekeeper will have only to
wash the windows and pay his electric power bill.
Even trading stamps may be superseded by computer techniques that keep
track of customer purchases and credit him with premiums as he earns
them. Credit cards have helped pioneer computer use in billing; it is
not farfetched to foresee the day when we are issued a lifetime,
all-inclusive credit card—perhaps with our birth certificate!—a card
with our thumbprint on it, that will buy our food, pay our rent and
utilities and other bills. A central computer system will balance our
expenses against deposits and from time to time let us know how we stand
financially.
As with many other important inventions, the computer and its technology
were spurred by war and are aided now by continuing threats of war. It
is therefore pleasant to think on the possibilities of a computer system
“programmed” for peace: a gigantic, worldwide system whose input
includes all recorded history of all nations, all economic and cultural
data, all weather information and other scientific knowledge. The output
of such a machine hopefully would be a “best plan” for all of us. Such a
computer would have no ax to grind and no selfish interests unless they
were fed into it.
Given all the facts, it would punch out for us a set of instructions
that would guarantee us the best life possible. This has long been a
dream of science writers. H. G. Wells was one of these, suggesting a
world clearinghouse of information in his book _World Brain_ written in
the thirties. In this country, scientist Vannevar Bush suggested a
similar computer called “Memex” which could store huge amounts of data
and answer questions put to it.
The huge amounts of information—books, articles, speeches, and records
of all sorts—are beginning to make it absolutely necessary for an
efficient information retrieval system. Many cases have been noted in
which much time and effort are spent on a project which has already been
completed but then has become lost in the welter of literature crammed
into libraries. The computer is a logical device for such work; in a
recent test such a machine scored 86 per cent in its efforts to locate
specific data on file. Trained workers rated only 38 per cent in the
same test!
[Illustration:
_The Boeing Co._
Engineers using computers to solve complex problems in aircraft
design.
]
The science of communication is advancing along with that of computers,
and can help make the dream of a worldwide “brain” come true. Computers
in distant cities are now linked by telephone lines or radio, and
high-speed techniques permit the transmission of many thousands of words
per _second_ across these “data links.” An interesting sidelight is the
fact that an ailing computer can be hooked by telephone line with a
repair center many miles away and its ailments diagnosed by remote
control. Communications satellites that are soon to be dotting the sky
like tiny moons may well play a big part in computing systems of the
future. Global weather prediction and worldwide coordination of trade
immediately come to mind.
While we envision such far-reaching applications, let’s not lose sight
of the possibilities for computer use closer to home—right in our homes,
as a matter of fact. Just as early inventors of mechanical power devices
did not foresee the day when electric drills and saws for hobbyist would
be commonplace and the gasoline engine would do such everyday chores as
cutting the grass in our yards, the makers of computers today cannot
predict how far the computer will go in this direction. Perhaps we may
one day buy a “Little Dandy Electro-Brain” and plug it into the wall
socket for solving many of the everyday problems we now often guess
wrong on.
[Illustration:
_Royal McBee Corp._
Students at Staples High School, Westport, Connecticut, attend a
summer session to learn the techniques of programming and operating
an electronic computer.
]
[Illustration:
_The Saturday Evening Post_
“Herbert’s been replaced by an electronic brain—one of the simpler
types.”
]
Some years ago a group of experts predicted that by 1967 the world
champion chess player would be an electronic computer. No one has yet
claimed that we would have a president of metal and wire, but some
interesting signposts are being put up. Computers are now used widely to
predict the result of elections. Computers count the votes, and some
have suggested that computers could make it possible for us to vote at
home. The government is investigating the effectiveness of a
decision-making computer as a stand-by aid for the President in this
complex age we are moving into. No man has the ability to weigh every
factor and to make decisions affecting the world. Perhaps a computer can
serve in an advisory capacity to a president or to a World Council;
perhaps—
It is comforting to remember that men will always tell the computer what
it is supposed to do. No computer will ever run the world any more than
the cotton gin or the steam engine or television runs the world. And in
an emergency, we can always pull out the wallplug, can’t we?
------------------------------------------------------------------------
“_History is but the unrolled scroll of prophecy._”
—James A. Garfield
2: The Computer’s Past
Although it seemed to burst upon us suddenly, the jet airplane can trace
its beginnings back through the fabric wings of the Wrights to the wax
wings of Icarus and Daedalus, and the steam aerophile of Hero in ancient
Greece. The same thing is true of the computer, the “thinking machine”
we are just now becoming uncomfortably aware of. No brash upstart, it
has a long and honorable history.
Naturalists tell us that man is not the only animal that counts. Birds,
particularly, also have an idea of numbers. Birds, incidentally, use
tools too. We seem to have done more with the discoveries than our
feathered friends; at least no one has yet observed a robin with a slide
rule or a snowy egret punching the controls of an electronic digital
computer. However, the very notion of mere birds being tool and number
users does give us an idea of the antiquity and lengthy heritage of the
computer.
The computer was inevitable when man first began to make his own
problems. When he lived as an animal, life was far simpler, and all he
had to worry about was finding game and plants to eat, and keeping from
being eaten or otherwise killed himself. But when he began to dabble in
agriculture and the raising of flocks, when he began to think
consciously and to reflect about things, man needed help.
First came the hand tools that made him more powerful, the spears and
bows and arrows and clubs that killed game and enemies. Then came the
tools to aid his waking brain. Some 25,000 years ago, man began to
count. This was no mean achievement, the dim, foggy dawning of the
concept of number, perhaps in the caves in Europe where the walls have
been found marked with realistic drawings of bison. Some budding
mathematical genius in a skin garment only slightly shaggier than his
mop of hair stared blinking at the drawings of two animals and then
dropped his gaze to his two hands. A crude, tentative connection jelled
in his inchoate gray matter and he shook his head as if it hurt. It was
enough to hurt, this discovery of “number,” and perhaps this particular
pioneer never again put two and two together. But others did; if not
that year, the next.
Armed with his grasp of numbers, man didn’t need to draw two mastodons,
or sheep, or whatever. Two pebbles would do, or two leaves or two
sticks. He could count his children on his fingers—we retain the
expression “a handful” to this day, though often our children are
another sort of handful. Of course, the caveman did not of a sudden do
sums and multiplications. When he began to write, perhaps 5,000 years
later, he had formed the concept of “one,” “two,” “several,” and “many.”
Besides counting his flock and his children, and the number of the
enemy, man had need for counting in another way. There were the seasons
of the year, and a farmer or breeder had to have a way of reckoning the
approach of new life. His calendar may well have been the first
mathematical device sophisticated enough to be called a computer.
It was natural that numbers be associated with sex. The calendar was
related to the seasons and the bearing of young. The number three, for
example, took on mystic and potent connotation, representing as it did
man’s genitals. Indeed, numbers themselves came quaintly to have sex.
One, three, and the other odd numbers were male; the symmetrical, even
numbers logically were female.
The notion that man used the decimal system because of his ten fingers
and toes is general, but it was some time before this refinement took
place. Some early peoples clung to a simpler system with a base of only
two; and interestingly a tribe of Australian aborigines counts today
thus: _enea_ (1), _petchaval_ (2), _enea petchaval_ (3), _petchaval
petchaval_ (4). Before we look down our noses at this naïve system, let
us consider that high-speed electronic computers use only two values, 1
and 0.
But slowly symbols evolved for more and more numbers, numbers that at
first were fingers, and then perhaps knots tied in a strip of hide. This
crude counting aid persists today, and cowboys sometimes keep rough
tallies of a herd by knotting a string for every five that pass. Somehow
numbers took on other meanings, like those that figure in courtship in
certain Nigerian tribes. In their language, the number six also means “I
love you.” If the African belle is of a mind when her boyfriend tenderly
murmurs the magic number, she replies in like tone, “Eight!”, which
means “I feel the same way!”
From the dawn of history there have apparently been two classes of us
human beings, the “haves” and the “have nots.” Nowadays we get bills or
statements from our creditors; in early days, when a slate or clay
tablet was the document, a forerunner of the carbon copy or duplicate
paper developed. Tallies were marked for the amount of the debt, the
clay tablet was broken across the marks, and creditor and debtor each
took half. No chance for cheating, since a broken half would fit only
the proper mate!
Numbers at first applied only to discrete, or distinctly separate,
things. The scratches on a calendar, the tallies signifying the count of
a flock; these were more easily reckoned. The idea of another kind of
number inspired the first clocks. Here was a monumental breakthrough in
mathematics. Nature provided the sunrise that clearly marked the
beginning of each day; man himself thought to break the day into
“hours,” or parts of the whole. Such a division led eventually to
measurement of size and weight. Now early man knew not only how many
goats he had, but how many “hands” high they were, and how many “stones”
they weighed. This further division ordained another kind of mechanical
computer man must someday contrive—the analog.
The first counting machines used were pebbles or sea shells. For the
Stone Age businessman to carry around a handful of rocks for all his
transactions was at times awkward, and big deals may well have gone
unconsummated for want of a stone. Then some genius hit on the idea of
stringing shells on a bit of reed or hide; or more probably the necklace
came first as adornment and the utilitarian spotted it after this style
note had been added. At any rate, the portable adding machine became
available and our early day accountant grew adroit at sliding the beads
back and forth on the string. From here it was only a small step, taken
perhaps as early as 3000 B.C., to the rigid counter known as the abacus.
The word “counter” is one we use in everyday conversation. We buy stock
over the counter; some deals are under the counter. We all know what the
counter itself is—that wide board that holds the cash register and
separates us from the shopkeeper. At one time the cash register _was_
the counter; actually the counting board had rods of beads like the
abacus, or at least grooves in which beads could be moved. The totting
up of a transaction was done on the “counter”; it is still there
although we have forgotten whence came its name.
The most successful computer used for the next 5,000 years, the portable
counter, or the abacus, is a masterpiece of simplicity and
effectiveness. Though only a frame with several rows of beads, it is
sophisticated enough that as late as 1947 Kiyoshi Matsuzake of the
Japanese Ministry of Communications, armed with the Japanese version—a
_soroban_, bested Private Tom Wood of the U. S. Army of Occupation
punching the keys of an up-to-the-minute electric calculating machine in
four of five problem categories! Only recently have Japanese banks gone
over to modern calculators, and shopkeepers there and in other lands
still conduct business by this rule of thumb and forefinger.
[Illustration:
The abacus, ancient mechanical computer, is still in use in many parts
of the world. Here is the Japanese version, the _soroban_, with
problem being set up.
]
The name abacus comes to us by way of the Greek _abax_, meaning “dust.”
Scholars infer that early sums were done schoolboy fashion in Greece
with a stylus on a dusty slate, and that the word was carried over to
the mechanical counter. The design has changed but little over the years
and all abacuses bear a resemblance. The major difference is the number
of beads on each row, determined by the mathematical base used in the
particular country. Some in India, for example, were set up to handle
pounds and shillings for use in shops. Others have a base of twelve. The
majority, however, use the decimal system. Each row has seven beads,
with a runner separating one or two beads from the others. Some systems
use two beads on the narrow side, some only one; this is a mathematical
consideration with political implications, incidentally: The Japanese
_soroban_ has the single-bead design; Korea’s _son pan_ uses two. When
Japan took over Korea the two-bead models were tabu, and went out of use
until the Koreans were later able to win their independence again.
About the only thing added to the ancient abacus in recent years is a
movable arrow for marking the decimal point. W. D. Loy patented such a
gadget in the United States. Today the abacus remains a useful device,
not only for business, but also for the teaching of mathematics to
youngsters, who can literally “grasp their numbers.” For that reason it
ought also to be helpful to the blind, and as a therapeutic aid for
manual dexterity. Apparently caught up in the trend toward smaller
computers, the abacus has been miniaturized to the extent that it can be
worn as earrings or on a key chain.
Even with mechanical counters, early mathematicians needed written
numbers. The caveman’s straight-line scratches gave way to
hieroglyphics, to the Sumerian cuneiform “wedges,” to Roman numerals,
and finally to Hindu and Arabic. Until the numbers, 1, 2, 3, 4, 5, 6, 7,
8, 9, and that most wonderful of all, 0 or zero, computations of any but
the simplest type were apt to be laborious and time-consuming. Even
though the Romans and Greeks had evolved a decimal system, their
numbering was complex. To count to 999 in Greek required not ten numbers
but twenty-seven. The Roman number for 888 was DCCCLXXXVIII. Multiplying
CCXVII times XXIX yielded an answer of MMMMMMCCXCIII, to be sure, but
not without some difficulty. It required an abacus to do any kind of
multiplication or division.
Indeed, it was perhaps from the abacus that the clue to Arabic
simplicity came. The Babylonians, antedating the Greeks, had
nevertheless gone them one better in arithmetic by using a “place”
system. In other words, the position of a number denoted its value. The
Babylonians simply left an empty space between cuneiform number symbols
to show an empty space in this positional system. Sometime prior to 300
B.C. a clever mathematician tired of losing track and punched a dot in
his clay tablet to fill the empty space and avoid possible error.
The abacus shows these empty spaces on its rows of beads, too, and
finally the Hindus combined their nine numerals with a “dot with a hole
in it” and gave the mathematical world the zero. In Hindu it was _sifr_,
corrupted to _zephirium_ in Latin, and gives us today both cipher and
zero. This enigma of nothingness would one day be used by Leibnitz to
prove that God made the world; it would later become half the input of
the electronic computer! Meantime, it was developed independently in
various other parts of the world; the ancient Mayans being one example.
Impressed as we may be by an electronic computer, it may take some
charity to recognize its forebears in the scratchings on a rock. To call
the calendar a computer, we must in honesty add a qualifying term like
“passive.” The same applies to the abacus despite its movable counters.
But time, which produced the simple calendar, also furnished the
incentive for the first “active” computers too. The hourglass is a
primitive example, as is the sundial. Both had an input, a power source,
and a readout. The clock interestingly ended up with not a decimal
scheme, but one with a base of twelve. Early astronomers began
conventionally bunching days into groups of ten, and located different
stars on the horizon to mark the passage of the ten days. It was but a
step from here to use these “decans,” as they were called, to further
divide each night itself into segments. It turned out that 12 decans did
the trick, and since symmetry was a virtue the daylight was similarly
divided by twelve, giving us a day of 24 hours rather than 10 or 20.
From the simple hourglass and the more complex water clocks, the Greeks
progressed to some truly remarkable celestial motion computers. One of
these, built almost a hundred years before the birth of Christ, was
recently found on the sea bottom off the Greek island of Antikythera. It
had been aboard a ship which sank, and its discovery came as a surprise
to scholars since history recorded no such complex devices for that era.
The salvaged Greek computer was designed for astronomical work, showing
locations of stars, predicting eclipses, and describing various cycles
of heavenly bodies. Composed of dozens of gears, shafts, slip rings, and
accurately inscribed plates, it was a computer in the best sense of the
word and was not exceeded technically for many centuries.
The Greek engineer Vitruvius made an interesting observation when he
said, “All machinery is generated by Nature and the revolution of the
universe guides and controls. Our fathers took precedents from
Nature—developed the comforts of life by their inventions. They rendered
some things more convenient by machines and their revolutions.”
Hindsight and language being what they are, today we can make a nice
play on the word “revolution” as applied to the machine. The Antikythera
computer was a prime example of what Vitruvius was talking about.
Astronomy was such a complicated business that it was far simpler to
make a model of the many motions rather than diagram them or try to
retain them in his mind.
There were, of course, some die-hard classicists who decried the use of
machines to do the work of pure reasoning. Archytas, who probably
invented the screw—or at least discovered its mechanical
principle—attempted to apply such mechanical devices to the solving of
geometrical problems. For this he was taken to task by purist Plato who
sought to preserve the distinct division between “mind” and “machine.”
Yet the syllogistic philosophers themselves, with their major premise,
minor premise, and conclusion, were unwittingly setting the stage for a
different kind of computer—the logic machine. Plato would be horrified
today to see crude decks of cards, or simple electromechanical
contrivances, solving problems of “reason” far faster than he could; in
fact, as fast as the conditions could be set into them!
------------------------------------------------------------------------
_The Mechanics of Reason_
Aristotle fathered the syllogism, or at least was first to investigate
it rigorously. He defined it as a formal argument in which the
conclusion follows logically from the premises. There are four common
statements of this type:
All S (for is P (for
subject) predicate)
No S (for subject) is P
Some S (for is P
subject)
Some S (for is not P
subject)
Thus, Aristotle might say “All men are mortal” or “No men are immortal”
as his subject. Adding an M (middle term), “Aristotle is a man,” as a
minor premise, he could logically go on and conclude “Aristotle, being a
man, is thus mortal.” Of course the syllogism unwisely used, as it often
is, can lead to some ridiculously silly answers. “All tables have four
legs. Two men have four legs. Thus, two men equal a table.”
Despite the weaknesses of the syllogism, nevertheless it led eventually
to the science of symbolic logic. The pathway was circuitous, even
devious at times, but slowly the idea of putting thought down as letters
or numbers to be logically manipulated to reach proper conclusions
gained force and credence. While the Greeks did not have the final say,
they did have words for the subject as they did for nearly everything
else.
Let us leave the subject of pure logic for a moment and talk of another
kind of computing machine, that of the mechanical doer of work. In the
_Iliad_, Homer has Hephaestus, the god of natural fire and metalworking,
construct twenty three-wheeled chariots which propel themselves to and
fro bringing back messages and instructions from the councils of the
gods. These early automatons boasted pure gold wheels, and handles of
“curious cunning.”
Man has apparently been a lazy cuss from the start and began straightway
to dream of mechanical servants to do his chores. In an age of magic and
fear of the supernatural his dreams were fraught with such machines that
turned into evil monsters. The Hebrew “golem” was made in the shape of
man, but without a soul, and often got out of hand. Literature has
perpetuated the idea of machines running amok, as the broom in “The
Sorcerer’s Apprentice,” but there have been benevolent machines too.
Tik-Tok, a latter-day windup man in _The Road to Oz_, could think and
talk and do many other things men could do. He was not alive, of course,
but he had the saving grace of always doing just what he “was wound up
to do.”
Having touched on the subject of mechanical men, let us now return to
mechanical logic. Since the Greeks, many men have traveled the road of
reason, but some stand out more brightly, more colorfully, than others.
Such a standout was the Spanish monk Ramón Lull. Lull was born in 1232.
A court page, he rose in influence, married young, and had two children,
but did not settle down to married domesticity. A wildly reckless
romantic, he was given to such stunts as galloping his horse into church
in pursuit of some lady who caught his eye. One such escapade led to a
remorseful re-examination of himself, and dramatic conversion to
Christianity.
He began to write books in conventional praise of Christ, but early in
his writings a preoccupation with numbers appears. His _Book of
Contemplation_, for example, actually contains five books for the five
wounds of the Saviour, and forty subdivisions for the days He spent in
the wilderness. There are 365 chapters for daily reading, plus one for
reading only in leap years! Each chapter has ten paragraphs, symbolizing
the ten commandments, and three parts to each chapter. These multiplied
give thirty, for the pieces of silver. Beside religious and mystical
connotations, geometric terms are also used, and one interesting device
is the symbolizing of words and even phrases by letters. This ties in
neatly with syllogism. A sample follows:
… diversity is shown in the demonstration that the D makes of the E and
the F and the G with the I and the K, therefore the H has certain
scientific knowledge of Thy holy and glorious Trinity.
This was only prologue to the _Ars Magna_, the “Great Art” of Ramón
Lull. In 1274, the devout pilgrim climbed Mount Palma in search of
divine help in his writings. The result was the first recorded attempt
to use diagrams to discover and to prove non-mathematical truths.
Specifically, Lull determined that he could construct mechanical devices
that would perform logic to prove the validity of God’s word. Where
force, in the shape of the Crusades, had failed, Lull was convinced that
logical argument would win over the infidels, and he devoted his life to
the task.
Renouncing his estate, including his wife and children, Lull devoted
himself thenceforth solely to his Great Art. As a result of dreams he
had on Mount Palma, the basis for this work was the assumption of simple
premises or principles that are unquestionable. Lull arranged these
premises on rotating concentric circles. The first of these wheels of
logic was called A, standing for God. Arranged about the circumference
of the wheel were sixteen other letters symbolizing attributes of God.
The outer wheel also contained these letters. Rotating them produced 240
two-term combinations telling many things about God and His good. Other
wheels prepared sermons, advised physicians and scientists, and even
tackled such stumpers as “Where does the flame go when the candle is put
out?”
[Illustration:
From the _Enciclopedia universal illustrada_,
Barcelona, 1923
Lull’s wheel.
]
Unfortunately for Lull, even divine help did not guarantee him success.
He was stoned to death by infidels in Bugia, Africa, at the age of
eighty-three. All his wheelspinning logic was to no avail in advancing
the cause of Christianity there, and most mathematicians since have
scoffed at his naïve devices as having no real merit. Far from accepting
the _Ars Magna_, most scholars have been “Lulled into a secure sense of
falsity,” finding it as specious as indiscriminate syllogism.
Yet Lull did leave his mark, and many copies of his wheels have been
made and found useful. Where various permutations of numbers or other
symbols are required, such a mechanical tool is often the fastest way of
pairing them up. Even in the field of writing, a Lullian device was
popular a few decades ago in the form of the “Plot Genii.” With this
gadget the would-be author merely spun the wheels to match up various
characters with interesting situations to arrive at story ideas. Other
versions use cards to do the same job, and one called Plotto was used by
its inventor William Wallace Cook to plot countless stories. Although
these were perhaps not ideas for great literature, eager writers paid as
much as $75 for the plot boiler.
Not all serious thinkers relegated Lull to the position of fanatic
dreamer and gadgeteer. No less a mind that Gottfried Wilhelm von
Leibnitz found much to laud in Lull’s works. The _Ars Magna_ might well
lead to a universal “algebra” of all knowledge, thought Leibnitz. “If
controversies were to arise,” he then mused, “there would be no more
reason for philosophers to dispute than there would for accountants!”
Leibnitz applied Lull’s work to formal logic, constructed tables of
syllogisms from which he eliminated the false, and carried the work of
the “gifted crank” at bit nearer to true symbolic logic. Leibnitz also
extended the circle idea to that of overlapping them in early attempts
at logical manipulation that foreshadowed the work that John Venn would
do later. Leibnitz also saw in numbers a powerful argument for the
existence of God. God, he saw as the numeral 1, and 0 was the
nothingness from which He created the world. There are those, including
Voltaire whose _Candide_ satirized the notion, who question that it is
the best of all possible worlds, but none can question that in the
seventeenth century Leibnitz foresaw the coming power of the binary
system. He also built arithmetical computers that could add and
subtract, multiply and divide.
A few years earlier than Leibnitz, Blaise Pascal was also interested in
computing machines. As a teen-ager working in his father’s tax office,
Pascal wearied of adding the tedious figures so he built himself a
gear-driven computer that would add eight columns of numbers. A tall
figure in the scientific world, Pascal had fathered projective geometry
at age sixteen and later established hydrodynamics as a science. To
assist a gambler friend, he also developed the theory of probability
which led to statistical science.
Another mathematical innovation of the century was that of placing
logarithms on a stick by the Scot, John Napier. What he had done, of
course, was to make an analog, or scale model of the arithmetical
numbers. “Napier’s bones” quickly became what we now call slide rules,
forerunners of a whole class of analog computers that solve problems by
being actual models of size or quantity. Newton joined Leibnitz in
contributing another valuable tool that would be used in the computer,
that of the calculus.
_The Computer in Literature_
Even as Plato had viewed with suspicion the infringement of mechanical
devices on man’s domain of higher thought, other men have continued to
eye the growth of “mechanisms” with mounting alarm. The scientist and
inventor battled not merely technical difficulties, but the scornful
satire and righteous condemnation of some of their fellow men. Jonathan
Swift, the Irish satirist who took a swipe at many things that did not
set well with his views, lambasted the computing machine as a substitute
for the brain. In Chapter V, Book Three, of _Gulliver’s Travels_, the
good dean runs up against a scheming scientist in Laputa:
The first Professor I saw was in a very large Room, with Forty Pupils
about him. After Salutation, observing me to look earnestly upon a
Frame, which took up the greatest part of both the Length and Breadth of
the Room; he said, perhaps I might wonder to see him employed in a
Project for improving speculative knowledge by practical and mechanical
Operations. But the World would soon be sensible of its Usefulness; and
he flattered himself, that a more noble exalted Thought never sprang in
any other Man’s Head. Every one knew how laborious the usual Method is
of attaining to Arts and Sciences; whereas by his Contrivance, the most
ignorant Person at a reasonable Charge, and with a little bodily Labour,
may write Books in Philosophy, Poetry, Politicks, Law, Mathematicks, and
Theology, without the least Assistance from Genius or Study. He then led
me to the Frame, about the Sides whereof all his Pupils stood in Ranks.
It was a Twenty Foot Square, placed in the Middle of the Room. The
Superfices was composed of several Bits of Wood, about the Bigness of a
Dye, but some larger than others. They were all linked together by
slender Wires. These Bits of Wood were covered on every Square with
Papers pasted on them; and on these Papers were written all the Words of
their Language in their several Moods, Tenses, and Declensions, but
without any Order. The Professor then desired me to observe, for he was
going to set his Engine to work. The Pupils at his Command took each the
hold of an Iron Handle, whereof there were Forty fixed round the Edges
of the Frame; and giving them a sudden Turn, the whole Disposition of
the Words was entirely changed. He then commanded Six and Thirty of the
Lads to read the several Lines softly as they appeared upon the Frame;
and where they found three or four Words together that might make Part
of a Sentence, they dictated to the four remaining Boys who were
Scribes. This work was repeated three or four Times, and at every Turn
the Engine was so contrived, that the Words shifted into new Places, as
the square Bits of Wood moved upside down.
Six hours a-day the young Students were employed in this Labour; and the
Professor showed me several Volumes in large Folio already collected, of
broken Sentences, which he intended to piece together, and out of those
rich Materials to give the World a compleat Body of Art and Sciences;
which however might be still improved, and much expedited, if the
Publick would raise a Fund for making and employing five Hundred such
Frames in _Lagado_....
Fortunately for Swift, who would have been horrified by it, he never
heard Russell Maloney’s classic story, “Inflexible Logic,” about six
monkeys pounding away at typewriters and re-creating the world great
literature. _Gulliver’s Travels_ is not listed in their accomplishments.
The French Revolution prompted no less an orator than Edmund Burke to
deliver in 1790 an address titled “Reflections on the French
Revolution,” in which he extols the virtues of the dying feudal order in
Europe. It galled Burke that “The Age of Chivalry is gone. That of
sophists, economists, and _calculators_ has succeeded, and the glory of
Europe is extinguished forever.”
Seventy years later another eminent Englishman named Darwin published a
book called _On the Origin of Species_ that in the eyes of many readers
did little to glorify man himself. Samuel Butler, better known for his
novel, _The Way of All Flesh_, wrote too of the mechanical being, and
was one of the first to point out just what sort of future Darwin was
suggesting. In the satirical _Erewhon_, he described the machines of
this mysterious land in some of the most prophetic writing that has been
done on the subject. It was almost a hundred years ago that Butler wrote
the first version, called “Darwin Among the Machines,” but the words
ring like those of a 1962 worrier over the electronic brain. Butler’s
character warns:
There is no security against the ultimate development of mechanical
consciousness in the fact of machines possessing little consciousness
now. Reflect upon the extraordinary advance which machines have made
during the last few hundred years, and note how slowly the animal and
vegetable kingdoms are advancing. The more highly organized machines are
creatures not so much of yesterday, as of the last five minutes, so to
speak, in comparison with past time.
Do not let me be misunderstood as living in fear of any actually
existing machine; there is probably no known machine which is more than
a prototype of future mechanical life. The present machines are to the
future as the early Saurians to man ... what I fear is the extraordinary
rapidity with which they are becoming something very different to what
they are at present.
Butler envisioned the day when the present rude cries with which
machines call out to one another will have been developed to a speech as
intricate as our own. After all, “... take man’s vaunted power of
calculation. Have we not engines which can do all manner of sums more
quickly and correctly than we can? What prizeman in Hypothetics at any
of our Colleges of Unreason can compare with some of these machines in
their own line?”
Noting another difference in man and his creation, Butler says,
... Our sum-engines never drop a figure, nor our looms a stitch; the
machine is brisk and active, when the man is weary, it is clear-headed
and collected, when the man is stupid and dull, it needs no slumber....
May not man himself become a sort of parasite upon the machines? An
affectionate machine-tickling aphid?
It can be answered that even though machines should hear never so well
and speak never so wisely, they will still always do the one or the
other for our advantage, not their own; that man will be the ruling
spirit and the machine the servant.... This is all very well. But the
servant glides by imperceptible approaches into the master, and we have
come to such a pass that, even now, man must suffer terribly on ceasing
to benefit the machines. If all machines were to be annihilated ... man
should be left as it were naked upon a desert island, we should become
extinct in six weeks.
Is it not plain that the machines are gaining ground upon us, when we
reflect on the increasing number of those who are bound down to them as
slaves, and of those who devote their whole souls to the advancement of
the mechanical kingdom?
Butler considers the argument that machines at least cannot copulate,
since they have no reproductive system. “If this be taken to mean that
they cannot marry, and that we are never likely to see a fertile union
between two vapor-engines with the young ones playing about the door of
the shed, however greatly we might desire to do so, I will readily grant
it. [But] surely if a machine is able to reproduce another machine
systematically, we may say that it has a reproductive system.”
Butler repeats his main theme. “... his [man’s] organization never
advanced with anything like the rapidity with which that of the machine
is advancing. This is the most alarming feature of the case, and I must
be pardoned for insisting on it so frequently.”
Then there is a startlingly clear vision of the machines “regarded as a
part of man’s own physical nature, being really nothing but
extra-corporeal limbs. Man ... as a machinate mammal.” This was feared
as leading to eventual weakness of man until we finally found “man
himself being nothing but soul and mechanism, an intelligent but
passionless principle of mechanical action.” And so the Erewhonians in
self-defense destroyed all inventions discovered in the preceding 271
years!
_Early Mechanical Devices_
During the nineteenth century, weaving was one of the most competitive
industries in Europe, and new inventions were often closely guarded
secrets. Just such an idea was that of Frenchman Joseph M. Jacquard, an
idea that automated the loom and would later become the basis for the
first modern computers. A big problem in weaving was how to control a
multiplicity of flying needles to create the desired pattern in the
material. There were ways of doing this, of course, but all of them were
unwieldy and costly. Then Jacquard hit on a clever scheme. If he took a
card and punched holes in it where he wanted the needles to be actuated,
it was simple to make the needles do his bidding. To change the pattern
took only another card, and cards were cheap. Patented in 1801, there
were soon thousands of Jacquard looms in operation, doing beautiful and
accurate designs at a reasonable price.
To show off the scope of his wonderful punched cards, Jacquard had one
of his looms weave a portrait of him in silk. The job took 20,000 cards,
but it was a beautiful and effective testimonial. And fatefully a copy
of the silk portrait would later find its way into the hands of a man
who would do much more with the oddly punched cards.
At about this same time, a Hungarian named Wolfgang von Kempelen decided
that machines could play games as well as work in factories. So von
Kempelen built himself a chess-playing machine called the Maelzel Chess
Automaton with which he toured Europe. The inventor and his machine
played a great game, but they didn’t play fair. Hidden in the innards of
the Maelzel Automaton was a second human player, but this disillusioning
truth was not known for some time. Thus von Kempelen doubtless spurred
other inventors to the task, and in a short while machines would
actually begin to play the royal game. For instance, a Spaniard named L.
Torres y Quevedo built a chess-playing machine in 1914. This device
played a fair “end game” using several pieces, and its inventor
predicted future work in this direction using more advanced machines.
Charles Babbage was an English scientist with a burning desire for
accuracy. When some mathematical tables prepared for the Astronomical
Society proved to be full of errors, he angrily determined to build a
machine that would do the job with no mistakes. Of course calculating
machines had been built before; but the machine Babbage had in mind was
different. In fact, he called it a “difference engine” because it was
based on the difference tables of the squares of numbers. The first of
the “giant computers,” it was to have hundreds of gears and shafts,
ratchets and counters. Any arithmetic problem could be set into it, and
when the proper cranks were turned, out would come an answer—the right
answer because the machine could not make a mistake. After doing some
preliminary work on his difference engine, Babbage interested the
government in his project since even though he was fairly well-to-do he
realized it would cost more money than he could afford to sink into the
project. Babbage was a respected scientist, Lucasian Professor of
Mathematics at Cambridge, and because of his reputation and the promise
of the machine, the Chancellor of the Exchequer promised to underwrite
the project.
For four years Babbage and his mechanics toiled. Instead of completing
his original idea, the scientist had succeeded only in designing a far
more complicated machine, one which would when finished weigh about two
tons. Because the parts he needed were advanced beyond the state of the
art of metalworking, Babbage was forced to design and build them
himself. In the process he decided that industry was being run all
wrong, and took time out to write a book. It was an excellent book, a
sort of forerunner to the modern science of operations research, and
Babbage’s machine shop was doing wonders for the metalworking art.
Undaunted by the lack of progress toward a concrete result, Babbage was
thinking bigger and bigger. He was going to scrap the difference engine,
or rather put it in a museum, and build a far better computer—an
“analytical engine.” If Jacquard’s punched cards could control the
needles on a loom, they could also operate the gears and other parts of
a calculating machine. This new engine would be one that could not only
add, subtract, multiply, and divide; it would be designed to control
itself. And as the answers started to come out, they would be fed back
to do more complex problems with no further work on the operator’s part.
“Having the machine eat its own tail!” Babbage called this sophisticated
bit of programming. This mechanical cannibalism was the root of the
“feedback” principle widely used in machines today. Echoing Watt’s steam
governor, it prophesied the coming control of machines by the machines
themselves. Besides this innovation, the machine would have a “store,”
or memory, of one thousand fifty-digit numbers that it could draw on,
and it would actually exercise judgment in selection of the proper
numbers. And as if that weren’t enough, it would print out the correct
answers automatically on specially engraved copper plates!
[Illustration:
_Space Technology Laboratories_
“As soon as an Analytical Engine exists, it will necessarily guide the
future course of science. Whenever any result is sought by its aid,
the question will then arise—by what course of calculation can these
results be arrived at by the machine in the shortest time?” Charles
Babbage—_The Life of a Philosopher_, 1861.
]
It was a wonderful dream; a dream that might have become an actuality in
Babbage’s own time if machine technology had been as advanced as his
ideas. But for Babbage it remained only a dream, a dream that never did
work successfully. The government spent £17,000, a huge sum for that day
and time, and bowed out. Babbage fumed and then put his own money into
the machine. His mechanics left him and became leaders in the
machine-tool field, having trained in Babbage’s workshops. In despair,
he gave up on the analytical engine and designed another difference
engine. An early model of this one would work to five accurate places,
but Babbage had his eyes on a much better goal—twenty-place accuracy. A
lesser man would have aimed more realistically and perhaps delivered
workable computers to the mathematicians and businessmen of the day.
There is a legend that his son did finish one of the simpler machines
and that it was used in actuarial accounting for many years. But Babbage
himself died in 1871 unaware of how much he had done for the computer
technology that would begin to flower a few short decades later.
Singlehandedly he had given the computer art the idea of programming and
of sequential control, a memory in addition to the arithmetic unit he
called a “mill,” and even an automatic readout such as is now standard
on modern computers. Truly, the modern computer was “Babbage’s dream
come true.”
_Symbolic Logic_
Concurrently with the great strides being made with mechanical computers
that could handle mathematics, much work was also being done with the
formalizing of the logic. As hinted vaguely in the syllogisms of the
early philosophers, thinking did seem amenable to being diagrammed, much
like grammar. Augustus De Morgan devised numerical logic systems, and
George Boole set up the logic system that has come to be known as
Boolean algebra in which reasoning becomes positive or negative terms
that can be manipulated algebraically to give valid answers.
John Venn put the idea of logic into pictures, and simple pictures at
that. His symbology looks for all the world like the three interlocking
rings of a well-known ale. These rings stand for the subject, midterm,
and predicate of the older Aristotelian syllogism. By shading the
various circles according to the major and minor premises, the user of
Venn circles can see the logical result by inspection. Implicit in the
scheme is the possibility of a mechanical or electrical analogy to this
visual method, and it was not long until mathematicians began at least
on the mechanical kind. Among these early logic mechanizers,
surprisingly, was Lewis Carroll who of course was mathematician Charles
L. Dodgson before he became a writer.
Carroll, who was a far busier man than most of us ever guess, marketed a
“Game of Logic,” with a board and colored cardboard counters that
handled problems like the following:
All teetotalers like sugar.
No nightingale drinks wine.
By arranging the counters on Carroll’s game board so that: All M are X,
and No Y is not-M, we learn that No Y is not-X! This tells the initiate
logician that no nightingale dislikes sugar; a handy piece of
information for bird-fancier and sugar-broker alike.
[Illustration:
Lewis Carroll’s “Symbolic Logic.”
]
Charles, the third Earl Stanhope, was only slightly less controversial
than his prime minister, William Pitt. Scientifically he was far out
too, writing books on electrical theory, inventing steamboats,
microscopes, and printing presses among an odd variety of projects; he
also became interested in mechanical logic and designed the “Stanhope
Demonstrator,” a contrivance like a checkerboard with sliding panels. By
properly manipulating the demonstrator he could solve such problems as:
Eight of ten children are bright.
Four of these children are boys.
What are the minimum and maximum number of bright boys? A simple sliding
of scales on the Stanhope Demonstrator shows that two must be boys and
as many as four may be. This clever device could also work out
probability problems such as how many heads and tails will come up in so
many tosses of a coin.
In 1869 William S. Jevons, an English economist and expert logician,
built a logic machine. His was not the first, of course, but it had a
unique distinction in that it solved problems faster than the human
brain could! Using Boolean algebra principles, he built a “logical
abacus” and then even a “logical piano.” By simply pressing the keys of
this machine, the user could make the answer appear on its face. It is
of interest that Jevons thought his machine of no practical use, since
complex logical questions seldom arose in everyday life! Life, it seems,
was simpler in 1869 than it is today, and we should be grateful that
Jevons pursued his work through sheer scientific interest.
More sophisticated than the Jevons piano, the logic machine invented in
America by Allan Marquand could handle four terms and do problems like
the following:
There are four schoolgirls, Anna, Bertha, Cora, and Dora.
When Anna or Bertha, or both, remain home, Cora is at home.
When Bertha is out, Anna is out.
Whenever Cora is at home, Anna is too.
What can we tell about Dora?
The machine is smart enough to tell us that when Dora is at home the
other three girls are all at home or out. The same thing is true when
Dora is out.
_The Census Taker_
Moving from the sophistication of such logic devices, we find a
tremendous advance in mechanical computers spurred by such a mundane
chore as the census. The 1880 United States census required seven years
for compiling; and that with only 50 million heads to reckon. It was
plain to see that shortly a ten-year census would be impossible of
completion unless something were done to cut the birth rate or speed the
counting. Dr. Herman Hollerith was the man who did something about it,
and as a result the 1890 census, with 62 million people counted, took
only one-third the time of the previous tally.
Hollerith, a statistician living in Buffalo, New York, may or may not
have heard the old saw about statistics being able to support
anything—including the statisticians, but there was a challenge in the
rapid growth of population that appealed to the inventor in him and he
set to work. He came up with a card punched with coded holes, a card
much like that used by Jacquard on his looms, and by Babbage on the
dream computer that became a nightmare. But Hollerith did not meet the
fate of his predecessors. Not stoned, or doomed to die a failure,
Hollerith built his card machines and contracted with the government to
do the census work. “It was a good paying business,” he said. It was
indeed, and his early census cards would some day be known generically
as “IBM cards.”
While Jacquard and Babbage of necessity used mechanical devices with
their punched cards, Hollerith added the magic of electricity to his
card machine, building in essence the first electrical computing
machine. The punched cards were floated across a pool of mercury, and
telescoping pins in the reading head dropped through the holes. As they
contacted the mercury, an electrical circuit was made and another
American counted. Hollerith did not stop with census work. Sagely he
felt there must be commercial applications for his machines and sold two
of the leading railroads on a punched-card accounting system. His firm
merged with others to become the Computing-Tabulating-Recording Company,
and finally International Business Machines. The term “Hollerith Coding”
is still familiar today.
[Illustration:
_International Business Machines Corp._
Hollerith tabulating machine of 1890, forerunner of modern computers.
]
Edison was illuminating the world and the same electrical power was
brightening the future of computing machines. As early as 1915 the Ford
Instrument Company was producing in quantity a device known as “Range
Keeper Mark I,” thought to be the first electrical-analog computer. In
1920, General Electric built a “short-circuit calculating board” that
was an analog or model of the real circuits being tested. Westinghouse
came up with an “alternating-current network analyzer” in 1933, and this
analog computer was found to be a powerful tool for mathematics.
[Illustration:
_International Business Machines Corp._
A vertical punched-card sorter used in 1908.
]
While scientists were putting the machines to work, writers continued to
prophesy doom when the mechanical man took over. Mary W. Shelley’s
_Frankenstein_ created a monster from a human body; a monster that in
time would take his master’s name and father a long horrid line of other
fictional monsters. Ambrose G. Bierce wrote of a diabolical
chess-playing machine that was human enough to throttle the man who beat
him at a game. But it remained for the Czech playwright Karel Čapek to
give the world the name that has stuck to the mechanical man. In Čapek’s
1921 play, _R.U.R._, for Rossum’s Universal Robots, we are introduced to
humanlike workers grown in vats of synthetic protoplasm. _Robota_ is a
Czech word meaning compulsory service, and apparently these mechanical
slaves did not take to servitude, turning on their masters and killing
them. Robot is generally accepted now to mean a mobile thinking machine
capable of action. Before the advent of the high-speed electronic
computer it had little likelihood of stepping out of the pages of a
novel or movie script.
As early as 1885, Allan Marquand had proposed an electrical logic
machine as an improvement over his simple mechanically operated model,
but it was 1936 before such a device was actually built. In that year
Benjamin Burack, a member of Chicago’s Roosevelt College psychology
department, built and demonstrated his “Electrical Logic Machine.” Able
to test all syllogisms, the Burack machine was unique in another
respect. It was the first of the portable electrical computers.
The compatibility of symbolic logic and electrical network theory was
becoming evident at about this time. The idea that yes-no corresponded
to on-off was beautifully simple, and in 1938 there appeared in one of
the learned journals what may fairly be called a historic paper.
Appearing in _Transactions of the American Institute of Electrical
Engineers_, “A Symbolic Analysis of Relay and Switching Circuits,” was
written by Claude Shannon and was based on his thesis for the M.S.
degree at the Massachusetts Institute of Technology a year earlier. One
of its important implications was that the programming of a computer was
more a logical than an arithmetical operation. Shannon had laid the
groundwork for logical computer design; his work made it possible to
teach the machine not only to add but also to think. Another monumental
piece of work by Shannon was that on information theory, which
revolutionized the science of communications. The author is now on the
staff of the electronics research laboratory at M.I.T.
Two enterprising Harvard undergraduates put Shannon’s ideas to work on
their problems in the symbolic logic class they were taking. Called a
Kalin-Burkhart machine for its builders, this electrical logic machine
did indeed work, solving the students’ homework assignments and saving
them much tedious paperwork. Interestingly, when certain logical
questions were posed for the machine, its circuits went into
oscillation, making “a hell of a racket” in its frustration. The
builders called this an example of “Russell’s paradox.” A typical
logical paradox is that of the barber who shaved all men who didn’t
shave themselves—who shaves the barber? Or of the condemned man
permitted to make a last statement. If the statement is true, he will be
beheaded; if false, he will hang. The man says, “I shall be hanged,” and
thus confounds his executioners as well as logic, since if he is hanged,
the statement is indeed true, and he should have been beheaded. If he is
beheaded, the statement is false, and he should have been hanged
instead.
World War II, with its pressingly complex technological problems,
spurred computer work mightily. Men like Vannevar Bush, then at Harvard,
produced analog computers called “differential analyzers” which were
useful in solving mathematics involved in design of aircraft and in
ballistics problems.
A computer built by General Electric for the gunsights on the World War
II B-29 bomber is typical of applications of analog devices for
computing and predicting, and is also an example of early airborne use
of computing devices. Most computers, however, were sizable affairs. One
early General Electric analog machine, described as a hundred feet long,
indicates the trend toward the “giant brain” concept.
Even with the sophistication attained, these computers were hardly more
than extensions of mechanical forerunners. In other words, gears and
cams properly proportioned and actuated gave the proper answers whether
they were turned by a manual crank or an electrical motor. The digital
computer, which had somehow been lost in the shuffle of interest in
computers, was now appearing on the scientific horizon, however, and in
this machine would flower all the gains in computers from the abacus to
electrical logic machines.
_The Modern Computer_
Many men worked on the digital concept. Aiken, who built the
electromechanical Mark I at Harvard, and Williams in England are
representative. But two scientists at the University of Pennsylvania get
the credit for the world’s first electronic digital computer, ENIAC, a
30-ton, 150-kilowatt machine using vacuum tubes and semiconductor diodes
and handling discrete numbers instead of continuous values as in the
analog machine. The modern computer dates from ENIAC, Electronic
Numerical Integrator And Computer.
[Illustration:
_Remington Rand UNIVAC_
ENIAC in operation. This was the first electronic digital computer.
]
Shannon’s work and the thinking of others in the field indicated the
power of the digital, yes-no, approach. A single switch can only be on
or off, but many such switches properly interconnected can do amazing
things. At first these switches were electromechanical; in the
Eckert-Mauchly ENIAC, completed for the government in 1946, vacuum tubes
in the Eccles-Jordan “flip-flop” circuit married electronics and the
computer. The progeny have been many, and their generations faster than
those of man. ENIAC has been followed by BINAC and MANIAC, and even
JOHNNIAC. UNIVAC and RECOMP and STRETCH and LARC and a whole host of
other machines have been produced. At the start of 1962 there were some
6,000 electronic digital computers in service; by year’s end there will
be 8,000. The golden age of the computer may be here, but as we have
seen, it did not come overnight. The revolution has been slow, gathering
early momentum with the golden wheels of Homer’s mechanical
information-seeking vehicles that brought the word from the gods. Where
it goes from here depends on us, and maybe on the computer itself.
------------------------------------------------------------------------
“_Theory is the guide to practice, and practice is the ratification
and life of theory._”
—John Weiss
3: How Computers Work
In the past decade or so, an amazing and confusing number of computing
machines have developed. To those of us unfamiliar with the beast, many
of them do not look at all like what we imagined computers to be; others
are even more awesome than the wildest science-fiction writer could
dream up. On the more complex, lights flash, tape reels spin dizzily,
and printers clatter at mile-a-minute speeds. We are aware, or perhaps
just take on faith, that the electronic marvel is doing its sums at so
many thousand or million per second, cranking out mathematical proofs
and processing data at a rate to make mere man seem like the dullest
slowpoke. Just how computers do this is pretty much of a mystery unless
we are of the breed that works with them. Actually, in spite of all the
blurring speed and seeming magic, the basic steps of computer operation
are quite simple and generally the same for all types of machines from
the modestly priced electromechanical do-it-yourself model to STRETCH,
MUSE, and other ten-million-dollar computers.
It might be well before we go farther to learn a few words in the
lexicon of the computer, words that are becoming more and more a part of
our everyday language. The following glossary is of course neither
complete nor technical but it will be helpful in following through the
mechanics of computer operation.
COMPUTER DICTIONARY
ACCESS TIME—Time required for computer to locate data and transfer it
from one computer element to another.
ADDER—Device for forming sums in the computer.
ADDRESS—Specific location of information in computer memory.
ANALOG COMPUTER—A physical or electrical simulator which produces an
analogy of the mathematical problem to be solved.
ARITHMETIC UNIT—Unit that performs arithmetical and logical operations.
BINARY CODE—Representation of numbers or other information using only
one and zero, to take advantage of open and closed circuits.
BIT—A binary digit, either one or zero; used to make binary numbers.
BLOCK—Group of words handled as a unit, particularly with reference to
input and output.
BUFFER—Storage device to compensate for difference in input and
operation rate.
CONTROL UNIT—Portion of the computer that controls arithmetic and
logical operations and transfer of information.
DELAY LINE—Memory device to store and later reinsert information; uses
physical, mechanical, or electrical techniques.
DIGITAL COMPUTER—A computer that uses discrete numbers to represent
information.
FLIP-FLOP—A circuit or device which remains in either of two states
until the application of a signal.
GATE—A circuit with more than one input, and an output dependent on
these inputs. An AND gate’s output is energized only when all inputs are
energized. An OR gate’s output is energized when one or more inputs are
energized. There are also NOT-AND gates, EXCLUSIVE-OR gates, etc.
LOGICAL OPERATION—A nonarithmetical operation, i.e., decision-making,
data-sorting, searching, etc.
MAGNETIC DRUM—Rotating cylinder storage device for memory unit; stores
data in coded form.
MATRIX—Circuitry for transformation of digital codes from one type to
another; uses wires, diodes, relays, etc.
MEMORY UNIT—That part of the computer that stores information in machine
language, using electrical or magnetic techniques.
MICROSECOND—One millionth of a second.
MILLISECOND—One thousandth of a second.
NANOSECOND—One billionth of a second.
PARALLEL OPERATION—Digital computer operation in which all digits are
handled simultaneously.
PROGRAMMING—Steps to be executed by computer to solve problem.
RANDOM ACCESS—A memory system that permits more nearly equal access time
to all memory locations than does a nonrandom system. Magnetic core
memory is a random type, compared with a tape reel memory.
REAL TIME—Computer operation simultaneous with input of information;
e.g., control of a guided missile or of an assembly line.
REGISTER—Storage device for small amount of information while, or until,
it is needed.
SERIAL OPERATION—Digital computer operation in which all digits are
handled serially.
STORAGE—Use of drums, tapes, cards, and so on to store data outside the
computer proper.
_The Computer’s Parts_
Looking at computers from a distance, we are vaguely aware that they are
given problems in the form of coded instructions and that through some
electronic metamorphosis this problem turns into an answer that is
produced at the readout end of the machine. There is an engineering
technique called the “black box” concept, in which we are concerned only
with input to this box and its output. We could extend this concept to
“black-magic box” and apply it to the computer, but breaking the system
down into its components is quite simple and much more informative.
There are five components that make up a computer: input, control,
arithmetic (or logic) unit, memory, and output. As machine intelligence
expert, Dr. W. Ross Ashby, points out, we can get no more out of a
brain—mechanical or human—than we put into it. So we must have an input.
The kind of input depends largely on the degree of sophistication of the
machine we are considering.
With the abacus we set in the problem mechanically, with our fingers.
Using a desk calculator we punch buttons: a more refined mechanical
input. Punched cards or perforated tapes are much used input methods. As
computers evolve rapidly, some of them can “read” for themselves and the
input is visual. There are also computers that understand verbal
commands.
Input should not be confused with the control portion of the computer’s
anatomy. We feed in data, but we must also tell the computer what to do
with the information. Shall it count the number of cards that fly
through it, or shall it add the numbers shown on the cards, record the
maximum and minimum, and print out an average? Control involves
programming, a computer term that was among the first to be assimilated
into ordinary language.
The arithmetic unit—that part of the computer that the pioneer Babbage
called his “mill”—is the nuts and bolts end of the business. Here are
the gears and shafts, the electromechanical relays, or the vacuum tubes,
transistors, and magnetic cores that do the addition, multiplication,
and other mathematical operations. Sometimes this is called the “logic”
unit, since often it manipulates the ANDS, ORS, NORS, and other
conjunctives in the logical algebra of Boole and his followers.
The memory unit is just that; a place where numbers, words, or other
data are stored and ready to be called into use whenever needed. There
are two broad types of memory, internal and external, and they parallel
the kind of memory we use ourselves. While our brain can store many,
many facts, it does have a practical limit. This is why we have phone
books, logarithm tables, strings around fingers, and so on. The computer
likewise has its external memory that may store thousands of times the
capacity of its internal memory. Babbage’s machine could remember a
thousand fifty-digit numbers; today’s large computers call on millions
of bits of data.
[Illustration:
Conversion of problem to machine program.
]
After we have dumped in the data and told the computer what to do with
them, and the arithmetic and memory have collaborated, it remains only
for the computer to display the result. This is the output of the
computer, and it can take many forms. If we are using a simple analog
computer such as a slide rule, the answer is found under the hairline on
the slide. An electronic computer in a bank prints out the results of
the day’s transactions in neat type at hundreds of lines a minute. The
SAGE defense computer system displays an invading bomber and plots the
correct course for interceptors on a scope; a computer in a playful mood
might type out its next move—King to Q7 and checkmate.
With this sketchy over-all description to get us started, let us study
each unit in a little more detail. It is interesting to compare these
operations with those of our human computer, our brain, as we go along.
[Illustration:
_Remington Rand UNIVAC_
A large computer, showing the different parts required.
]
_Input_
An early and still very popular method of getting data into the computer
is the punched card. Jacquard’s clever way of weaving a pattern got into
the computer business through Hollerith’s census counting machines.
Today the ubiquitous IBM card can do these tasks of nose counting and
weaving, and just about everything else in between. Jacquard used the
punched holes to permit certain pins to slide through. Hollerith
substituted the mercury electrical contact for the loom’s flying
needles. Today there are many other ways of “reading” the cards. Metal
base plate and springs, star wheels, even photoelectric cells are used
to detect the presence or absence of the coded holes. A human who knows
the code can visually extract the information; a blind man could do it
by the touch system. So with the computer, there are many ways of
transferring data.
[Illustration:
_Remington Rand_ UNIVAC
The Computer’s Basic Parts.
]
An obvious requirement of the punched card is that someone has to punch
the holes in the first place. This is done with manually operated
punches, power punches, and even automatic machines that handle more
than a hundred cards a minute. Punched cards, which fall into the
category called computer “software,” are cheap, flexible, and compatible
with many types of equipment.
Particularly with mathematical computations and scientific research,
another type of input has become popular, that of paper tape. This in
effect strings many cards together and puts them on an easily handled
roll. Thus a long series of data can be punched without changing cards,
and is conveniently stored for repeated use. Remember the old
player-piano rolls of music? These actually formed the input for one
kind of computer, a musical machine that converted coded holes to
musical sounds by means of pneumatic techniques. Later in this chapter
we will discuss some modern pneumatic computers.
More efficient than paper is magnetic tape, the same kind we use in our
home recording instruments. Anyone familiar with a tape recorder knows
how easy it is to edit or change something on a tape reel. This is a big
advantage over punched cards or paper tapes which are physically altered
by the data stored on them and cannot be corrected. Besides this,
magnetic tape can hold many more “bits” of information than paper and
also lends itself to very rapid movement through the reading head of the
computer. For example, standard computer tape holds seven tracks, each
with hundreds of bits of information per inch. Since there are thousands
of feet on a ten-inch reel, it is theoretically possible to pack 40
_million_ bits on this handful of tape!
Since the computer usually can operate at a much higher rate of speed
than we can put information onto tape, it is often the practice to have
a “buffer” in the input section. This receiving station collects and
stores information until it is full, then feeds it to the computer which
gobbles it up with lightning speed. Keeping a fast computer continuously
busy may require many different inputs.
Never satisfied, computer designers pondered the problem of all the lost
time entailed in laboriously preparing cards or tapes for the ravenous
electronic machine. The results of this brain-searching are interesting,
and they are evident in computers that actually read man-talk. Computers
used in the post office and elsewhere can optically read addresses as
well as stamps; banks have computers that electrically read the coded
magnetic ink numbers on our checks and process thousands of times as
many as human workers once did. This optical reading input is not
without its problems, of course. Many computers require a special type
face to be used, and the post office found that its stamp recognizer was
mistaking Christmas seals for foreign stamps. Improved read heads now
can read hand-printed material and will one day master our widely
differing human scrawls. This is of course a boon to the “programmer” of
lengthy equations who now has to translate the whole problem into
machine talk before the machine can accept it.
If a machine can read, why can’t it understand verbal input as well?
Lazy computer engineers have pushed this idea, and the simplest input
system of all is well on the way to success. Computers today can
recognize numbers and a few words, and the Japanese have a typewriter
that prints out the words spoken to it! These linguistic advances that
electronic computers are making are great for everyone, except perhaps
the glamorized programmer, a new breed of mathematical logician whose
services have been demanded in the last few years.
[Illustration:
Magnetic Tape - Paper Tape - IBM Card - Magnetic Ink Characters
]
_Control_
Before we feed the problem into the machine, or before we give it some
“raw” data to process, we had better tell our computer what we want it
to do. All the fantastic speed of our electrons will result in a
meaningless merry-go-round, or perhaps a glorious machine-stalling short
circuit unless the proper switches open and close at the right time.
This is the job of the control unit of the computer, a unit that
understands commands like “start,” “add,” “subtract,” “find the square
root,” “file in Bin B,” “stop,” and so on. The key to all the computer’s
parts working together in electronic harmony is its “clock.” This
timekeeper in effect snaps its fingers in perfect cadence, and the
switches jump at its bidding. Since the finger-snapping takes place at
rates of millions of snaps a second, the programmer must be sure he has
instructed the computer properly.
The ideal programmer is a rare type with a peculiarly keen brain that
sometimes takes seemingly illogical steps to be logical. Programmers are
likely to be men—or women, for there is no sex barrier in this new
profession—who revel in symbolic logic and heuristic or “hunch”
reasoning. Without a program, the computer is an impressively elaborate
and frighteningly expensive contraption which cannot tell one number
from another. The day may come when the mathematician can say to the
machine, “Prove Fermat’s last theorem for me, please,” or the engineer
simply wish aloud for a ceramic material that melts at 15,000° C. and
weighs slightly less than Styrofoam. Even then the human programmer will
not start drawing unemployment insurance, of course. If he is not
receiving his Social Security pension by then he will simply shift to
more creative work such as thinking up more problems for the machine to
solve.
Just as there are many jobs for the computer, so there are many kinds of
programs. On a very simple, special-purpose computer, the program may be
“wired-in,” or fixed, so that the computer can do that particular job
and no other. On a more flexible machine, the program may still be quite
simple, perhaps no more than a card entered in a desk unit by an airline
ticket agent to let the computer arrange a reservation for three tourist
seats on American Airlines jet flight from Phoenix to Chicago at 8:20
A.M. four days from now. On a general-purpose machine, capable of many
problems, the program may be unique, a one-of-a-kind highly complex set
of instructions that will make the computer tax its huge memory and do
all sorts of mental “nip-ups” before it reaches a solution.
A computer that understands about sixty commands has been compared to a
Siamese elephant used for teak logging; the animal has about that many
words in its vocabulary. Vocabulary is an indication of computer as well
as human sophistication. The trend is constantly toward
less-than-elephant size, and more-than-elephant vocabulary.
The programmer’s work can be divided into four basic phases: _analysis_
of the problem; _application_ or matching problem requirements with the
capabilities of the right computer; _flow charting_ the various
operations using symbolic diagrams; and finally, _coding_ or translating
the flow chart into language the computer knows.
The flow chart to some extent parallels the way our own brains solve
logic problems, or at least the way they _ought_ to solve them. For
example, a computer might be instructed to select the smallest of three
keys. It would compare A and B, discard the larger, and then compare
with C, finally selecting the proper one. This is of course such a
ridiculously simple problem that few of us would bother to use the
computer since it would take much longer to plot the flow chart than to
select the key by simple visual inspection. But the logical principle is
the same, even when the computer is to be told to analyze all the
business transactions conducted by a large corporation during the year
and advise a program for the next year which will show the most profit.
From the symbolic flow chart, the programmer makes an operational flow
chart, a detailed block diagram, and finally the program itself.
Suitably coded in computer language, this program is ready for the
computer’s control unit.
With a problem of complex nature, such as one involving the firing of a
space vehicle, programmers soon learned they were spending hours, or
even days, on a problem which the computer proceeded to zip through in
minutes or seconds. It was something like working all year building an
elaborate Fourth of July fireworks display, touching the match, and
seeing the whole thing go up in spectacular smoke for a brief moment. Of
course the end justifies the means in either case, and as soon as the
computer has quit whirring, or the skyrockets faded out, the programmer
gets back to work. But some short cuts were learned.
Even a program for a unique problem is likely to contain many
“subroutines” just like those in other problems. These are used and
re-used; some computers now have libraries of programs they can draw on
much as we call on things learned last week or last year.
With his work completed, the programmer’s only worry is that an error
might exist in it, an error that could raise havoc if not discovered.
One false bit of logic in a business problem; a slight mathematical
boner in a design for a manned missile, could be catastrophic since our
technology is so complicated that the mistake might be learned only when
disaster struck. So the programmer checks and rechecks his work until he
is positive _he_ has not erred.
How about the computer? It checks itself too; so thoroughly that there
is no danger of it making a mistake. Computer designers have been very
clever in this respect. One advanced technique is “majority rule”
checking. Not long ago when the abacus was used even in banking, the
Japanese were aware that a single accountant might make a false move and
botch up the day’s tally. But if two operators worked the same problem
and got the same answer, the laws of probability rule that the answer
can be accepted. If the sums do not agree, though, which man is right?
To check further, and save the time needed to go through the whole
problem again, _three_ abacuses, or abaci, are put through their paces.
Now if two answers agree, chances are they are the right solution. If
all three are different, the bank had better hire new clerks!
[Illustration:
_Remington Rand UNIVAC_
A word picture “flow chart” of the logical operation of selecting the
proper key.
]
_Arithmetic or Logic_
Now that our computer has the two necessary ingredients of input and
control, the arithmetic or logic unit can get busy. Babbage called this
the “mill,” and with all the whirring gears and clanking arms his engine
boasted, the term must have been accurate. Today’s computer is much
quieter since in electronic switches the only moving parts are the
electrons themselves and these don’t make much of a racket. Such
switches have another big advantage in that they open and close at a
great rate, practically the speed of light. The fastest computers use
switches that act in _nanoseconds_, or billionths of a second. In one
nanosecond light itself travels only a foot.
The computer may be likened to someone counting on two of his fingers.
Instead of the decimal or ten-base system, most computers use binary
arithmetic, which has a base of two. But fingers that can be counted in
billionth parts of a second can handle figures pretty fast, and the
computer has learned some clever tricks that further speed things up. It
can only add, but by adroit juggling it subtracts by using the
complement of the desired number, a technique known to those familiar
with an ordinary adding machine. There are also some tricks to
multiplying that allow the computer again to simply add and come up with
the answer.
With pencil and paper we can multiply 117 times 835 easily. Remember,
though, that the computer can only add, and that it was once called a
speedy imbecile. The most imbecilic computer might solve the problem by
adding 117 to itself 835 times. A smarter model will reverse the
procedure and handle only 117 numbers. The moron type of computer is a
bit more clever and sets up the problem this way:
835
835
835
835
835
835
835
8350
83500
——
97695
A moment’s reflection will show that this is the same as adding 7 times
835, 10 times 835, and 100 times 835. And of course the computer arrives
at the answer in about the time it takes us to start drawing the line
under our multiplier.
[Illustration:
_The Bendix Corp., Computer Division_
Assembly of printed-circuit component “packages” into computer.
]
Perhaps smarting under the unkind remarks about its mental ability, the
computer has lately been trying some new approaches to the handling of
complex arithmetical problems. Instead of adding long strings of
numbers, it will take a guess at the result, do some smart checking,
adjust its figures, and shortly arrive at the right solution. For
nonarithmetical problems, the computer substitutes yes and no for 1 and
0 and blithely solves problems in logic at the same high rate of speed.
_Memory_
When we demonstrated our superiority earlier in multiplying instead of
adding the numbers in the problem, we were drawing on our memory:
recalling multiplication tables committed to memory when we were quite
young. Babbage’s “store” in his difference engine, you will recall,
could memorize a thousand fifty-digit numbers, a feat that would tax
most of us. The grandchildren of the Babbage machine can call on as many
as a billion bits of information stored on tape. As you watch the reels
of tape spinning, halting abruptly, and spinning again so purposefully,
remember that the computer is remembering. In addition to its large
memory, incidentally, a computer may also have a smaller “scratch-pad”
memory to save time.
Early machines used electromechanical relays or perhaps vacuum-tube
“flip-flops” for memory. Punched-card files store data too. To speed up
the access to information, designers tried the delay-line circuit, a
device that kept information circulating in a mercury or other type of
delay. Magnetic drums and discs are also used. Magnetic tape on reels is
used more than any other memory system for many practical reasons. There
is one serious handicap with the tape system, however. Information on
it, as on the drum, disc, file card, or delay line, is serial, that is,
it is arranged in sequence. To reach a certain needed bit of data might
require running through an entire reel of tape. Even though the tape
moves at very high speed, time is lost while the computer’s arithmetic
unit waits. For this reason the designers of the most advanced computers
have gone to “random access” instead of sequential memory for part of
the machine.
Tiny cores of ferrite material which has the desired magnetic properties
are threaded on wires. These become memory elements, as many as a
hundred of them in an area the size of a postage stamp. Each core is at
the intersection of two wires, one horizontal and one vertical. Each
core thus has a unique “address” and because of the arrangement of the
core matrix, any address can be reached in about the same amount of time
as any other. Thus, instead of spinning the tape several hundred feet to
reach address number 6,564, the computer simply closes the circuit of
vertical row 65 and horizontal row 64, and there is the desired bit of
information in the form of a magnetic field in the selected core.
Hot on the heels of the development of random-access core memories came
that of thin metallic film devices and so-called cryogenic or supercold
magnetic components that do the same job as the ferrite cores but take
only a fraction of the space. Some of these advanced devices also lend
themselves to volume production and thus pave the way for memories with
more and more information-storage capability.
[Illustration:
_International Business Machines Corp._
Magnetic core plane, the computer’s memory.
]
In the realm of “blue-sky” devices, sometimes known as “journalistors,”
are molecular block memories. These chunks of material will contain
millions of bits of information in cubic inches of volume, and some way
of three-dimensional scanning of the entire block will be developed.
With such a high-volume memory, the computer of tomorrow will fit on a
desk top instead of requiring rows and rows of tape-filled machines.
Today, tape offers the cheapest “per bit” storage, and it is necessary
to use the external or peripheral type of information storage. This is
not much of a problem except for the matter of space. Since most
computers are electronic, all that is required to tie the memory units
to the arithmetic unit is wire connections. Douglas Aircraft ties
computers in its California and North Carolina plants with 2,400 miles
of telephone hookup. Sometimes even wires are not necessary. In the Los
Angeles area, North American Aviation has a number of plants separated
by as many as forty miles. Each plant is quite capable of using the
computers in the other locations, with a stream of digits beamed by
microwave radio from one to the other. Information can be transferred in
this manner at rates up to 65,000 bits per second.
_Output_
Once the computer has taken the input of information, been instructed
what to do, and used its arithmetic and memory, it has done the bulk of
the work on the problem. But it must now reverse the procedure that took
place when information flowed into it and was translated into electrical
impulses and magnetic currents. It could convey the answer to another
machine that spoke its language, but man would find such information
unintelligible. So the computer has an output section that translates
back into earth language.
Babbage’s computer was to have printed out its answers on metal plates,
and many computers today furnish punched cards or tape as an output.
Others print the answers on sheets of paper, so rapidly that a page of
this book would take little more than a second to produce! One of the
greatest challenges of recent years is that of producing printing
devices fast enough to exploit fully the terrific speeds of electronic
computing machines. There would be little advantage in a computer that
could add all the digits in all the phone books in the world in less
than a minute if it took three weeks to print out the answer.
Impact printers, those that actually strike keys against paper, have
been improved to the point where they print more than a thousand lines
of type, each with 120 characters in it, per minute. But even this is
not rapid enough in some instances, and completely new kinds of printers
have been developed. One is the Charactron tube, a device combining a
cathode-ray tube, something like the TV picture tube, with an interposed
64-character matrix about half an inch in diameter. Electrical impulses
deflect the electron beam in the tube so that it passes through the
proper matrix character and forms that image on the face of the tube.
This image then is printed electrostatically on the treated paper rather
than with a metal type face. With no moving parts except the paper, and
of course the electrons themselves, the Charactron printer operates
close to the speed of the computer itself, and produces 100,000 words a
minute. This entire book could be printed out in about forty-five
seconds in this manner.
[Illustration:
_Minneapolis-Honeywell,
Electronic Data Processing Division_
A high-speed printer is the output of this computer. It prints 900
_lines_ a minute.
]
There are many other kinds of outputs. Some are in the form of payroll
checks, rushing from the printer at the rate of 10,000 an hour. Some are
simply illuminated numbers and letters on the face of the computer. As
mentioned earlier, the SAGE air defense computer displays the tracks of
aircraft and missiles on large screens, each accurately tagged for
speed, altitude, and classification. The computer may even speak its
answer to us audibly.
General Electric engineers have programmed computers to play music, and
come up with a clever giveaway record titled “Christmas Carols in 210
Time,” à la pipe-organ solo. Some more serious musical work is now being
done in taking a musical input fed to a computer, programming it for
special effects including the reverberant effect of a concert hall, and
having that played as the output.
A more direct vocal output is the spoken word. Some computers have this
capability now, with a modest vocabulary of their own and an extensive
tape library to draw from. As an example, Gilfillan Radio has produced a
computerized ground-control-approach system that studies the radar
return of the aircraft being guided, and “tells” the pilot how to fly
the landing. All the human operator does is monitor the show.
The system uses the relatively simple method of selecting the correct
words from a previously tape-recorded human voice. More sophisticated
systems will be capable of translating code from the computer directly
into an audible output. One very obvious advantage of such an automatic
landing system is that the computer is never subject to a bad day,
nerves, or fright. It will talk the aircraft down calmly and
dispassionately, albeit somewhat mechanically.
These then are the five basic parts of a computer or computer system:
input, control, arithmetic-logic, memory, and output. Remember that this
applies equally to simple and complex machines, and also to computers
other than the more generally encountered electronic types. For while
the electronic computer is regarded as the most advanced, it is not
necessarily the final result of computer development. Let us consider
some of the deviants, throwbacks, and mutations of the computer species.
[Illustration:
_Kearfott Division, General Precision, Inc._
The tiny black box is capable of the same functions as the larger
plastic laboratory model pneumatic digital computer.
Packaging densities of more than 2,000 elements per cubic inch are
expected.
]
_Another Kind of Computer_
We have discussed mechanical, electromechanical, electrical, and
electronic computers. There are also those which make use of quite
different media for their operation: hydraulics, air pressure, and even
hot gases. The pneumatic is simplest to explain, and also has its
precedent in the old player-piano mentioned earlier.
Just as an electric or electronic switch can be open or closed, so can a
pneumatic valve. The analogy carries much further. Some of the basic
electronic components used in computers are diodes, capacitors,
inductors, and “flip-flop” circuits which we have talked of. Each of
these, it turns out, can be approximated by pneumatic devices.
The pneumatic diode is the simplest component, being merely an orifice
or opening through which gas is flowing at or above the speed of sound.
Under these conditions, any disturbance in pressure “upstream” of the
orifice will move “downstream” through the orifice, but any such
happening downstream cannot move upstream. This is analogous to the way
an electronic diode works in the computer, a one-way valve effect.
The electrical capacitor with its stored voltage charge plays an
important part in computer circuitry. A plenum chamber, or box holding a
volume of air, serves as a pneumatic capacitor. Similarly, the effect of
an inductor, or coil, is achieved with a long pipe filled with moving
air.
The only complicated element in our pneumatic computer building blocks
is the flip-flop, or bistable element. A system of tubes, orifices, and
balls makes a device that assumes one position upon the application of
pneumatic force, and the other upon a successive application, similar to
the electronic flip-flop. Pneumatic engineers use terms like “pressure
drop” and “pneumatic buffering,” comparable to voltage drop and
electrical buffering.
A good question at this point is just why computer designers are even
considering pneumatic methods when electronic computers are doing such a
fine job. There are several reasons that prompt groups like the Kearfott
Division of General Precision Inc., AiResearch, IBM’s Swiss Laboratory,
and the Army’s Diamond Ordnance Fuze Laboratory to develop the
air-powered computers. One of these is radiation susceptibility. Diodes
and transistors have an Achilles heel in that they cannot take much
radiation. Thus in military applications, and in space work, electronic
computers may be incapable of proper operation under exposure to fallout
or cosmic rays. A pneumatic computer does not have this handicap.
High temperature is another bugaboo of the electronic computer. For
operation above 100° C., for instance, it is necessary to use expensive
silicon semiconductor elements. The cryogenic devices we talked of
require extremely low temperatures and are thus also ruled out in hot
environments. The pneumatic computer, on the other hand, can actually
operate on the exhaust gases of a rocket with temperatures up to 2000°
F. There may be something humanlike in this ability to operate on hot
air, but there are more practical reasons like simplicity, light weight,
and low cost.
The pneumatic computer, of course, has limitations of its own. The most
serious is that of speed, and its top limit seems to be about 100
kilocycles a second. Although this sounds fast—a kilocycle being a
thousand cycles, remember—it is tortoise-slow compared with the
50-megacycle speed of present electronic machines. But within its
limitations the pneumatic machine can do an excellent job. Kearfott
plans shrinking 3,000 pneumatic flip-flops and their power supply and
all circuitry into a one-inch cube; and packing a medium-size
general-purpose digital computer complete with memory into a case 5-1/2
inches square and an inch thick. Such a squeezing of components surely
indicates _compressed_ air as a logical power supply!
Going beyond the use of air as a medium, Army researchers have worked
with “fluid” flip-flops capable of functioning at temperatures ranging
from minus 100° to plus 7,000° F.! The limit is dictated only by the
material used to contain the fluid, and would surely meet requirements
for the most rigorous environment foreseeable.
The fluid flip-flop operates on a different principle from its pneumatic
cousin, drawing on fluid dynamics to shift from one state to the other.
Fluid dynamics permits the building of switches and amplifiers that
simulate electronic counterparts adequately, and the Army’s Diamond
Ordnance Fuze Laboratory has built such oscillators, shift registers,
and full adders, the flesh and bones of the computer. Researchers
believe components can be built cheaply and that ultimately a complete
fluid computer can be assembled.
The X-15 is cited as an example of a good application for fluid-type
computing devices. The hypersonic aircraft flies so fast it glows, and a
big part of its problem is the cooling of a large amount of electronic
equipment that generates additional heat to compound the difficulty.
Missiles and space vehicles have similar requirements.
Tomorrow’s computer may use liquid helium or a white-hot plasma jet
instead of electronics or gas as a medium. It may use a medium nobody
has dreamed of yet, or one tried earlier and discarded. Regardless of
what it uses, it will probably work on the same basic theory and
principles we’ve outlined here. And try as we may, we will get no more
out of it than we put in.
[Illustration:
By Herbert Goldberg © 1961 Saturday Review
“Is this your trouble?”
]
------------------------------------------------------------------------
“_It is the machines that make life complicated, at the
same time that they impose on it a high tempo._”
—Carl Lotus Becker
4: Computer Cousins—Analog
and Digital
There are many thousands of computers in operation today—in enough
different outward varieties to present a hopeless classification task to
the confused onlooker. Actually there are only two basic types of
computing machines, the analog and the digital. There is also a third
computer, an analog-digital hybrid that makes use of the better features
of each to do certain jobs more effectively.
The distinction between basic types is clear-cut and may be explained in
very simple terms. Again we go to the dictionary for a starting point.
Webster says: “Analogue.—That which is analogous to some other thing.”
Even without the terminal _ue_, the analog computer is based on the
principle of analogy. It is actually a model of the problem we wish to
solve. A tape measure is an analog device; so is a slide rule or the
speedometer in your car. These of course are very simple analogs, but
the principle of the more complex ones is the same. The analog computer,
then, simulates a physical problem and deals in quantities which it can
measure.
Some writers feel that the analog machine is not a computer at all in
the strict sense of the word, but actually a laboratory model of a
physical system which may be studied and measured to learn certain
implicit facts.
[Illustration:
_Minneapolis-Honeywell Computer Center_
A multimillion dollar aerospace computer facility. On left is an array
of 16 analog computers; at right is a large digital data-processing
system.
The facility can perform scientific and business tasks simultaneously.
]
The dictionary also gives us a good clue to the digital computer:
“Digital.—Of the fingers or digits.” A digital machine deals in digits,
or discrete units, in its calculations. For instance, if we ask it to
multiply 2 times 2, it answers that the product is exactly 4. A slide
rule, which we have said is an analog device, might yield an answer of
3.98 or 4.02, depending on the quality of its workmanship and our
eyesight.
The term “discrete” describes the units used by the digital machine; an
analog machine deals with “continuous” quantities. When you watch the
pointer on your speedometer you see that it moves continuously from zero
to as fast as you can or dare drive. The gas gauge is a graphic
presentation of the amount of fuel in the tank, just as the speedometer
is a picture of your car’s speed. For convenience we interpolate the
numbers 10, 20, 30, 1/4, 1/2, and so on. What we do, then, is to convert
from a continuous analog presentation to a digital answer with our eyes
and brain. This analog-to-digital conversion is not without
complications leading to speeding tickets and the inconvenience of
running out of gas far from a source of supply.
A little thought will reveal that even prior to computers there were two
distinct types of calculating; those of measuring (analog) and of
counting (digital). Unless we are statisticians, we encounter 2-1/2 men
or 3-1/2 women about as frequently as we are positive that there is
exactly 10 gallons of fuel in the gas tank. In fact, we generally use
the singular verb with such a figure since the 10 gallons is actually an
arbitrary measurement we have superimposed on a quantity of liquid.
Counting and measuring, then, are different things.
Because of the basic differences in the analog and digital computers,
each has its relative advantages and disadvantages with respect to
certain kinds of problems. Let us consider each in more detail and learn
which is better suited to particular tasks. Using alphabetical protocol,
we take the analog first.
_The Analog Measuring Stick_
We have mentioned the slide rule, the speedometer, and other popular
examples of analog computers. There are of course many more. One
beautiful example occurs in nature, if we can accept a bit of folklore.
The caterpillar is thought by some to predict the severity of the winter
ahead by the width of the dark band about its body. Even if we do not
believe this charming relationship exists, the principle is a fine
illustration of simulation, or the modeling of a system. Certainly there
are reverse examples in nature not subject to any speculation at all.
The rings in the trunk of a tree are accurate pictures of the weather
conditions that caused them.
These analogies in nature are particularly fitting, since the analog
computer is at its best in representing a physical system. While we do
not generally recognize such homely examples as computers, automatic
record-changers, washing machines, electric watt-hour meters, and
similar devices are true analogs. So of course is the clock, one of the
earliest computers made use of by man.
While Babbage was working with his difference engine, another
Englishman, Lord Kelvin, conceived a brilliant method of predicting the
height of tides in various ports. He described his system of solving
differential equations invented in 1876 in the _Proceedings of the Royal
Society_. A working model of this “differential analyzer,” which put
calculus on an automated basis, was built by Kelvin’s brother, James
Thomson. Thomson used mechanical principles in producing this analog
computer, whose parts were discs, balls, and cylinders.
[Illustration:
_Science Materials Center_
A simple analog computer designed to be assembled and used by
teen-agers. Calculo performs multiplication and division within 5
per cent accuracy, and is a useful demonstration device.
]
Early electrical analogs of circuits built around 1920 in this country
have been discussed briefly in the chapter on the computer’s past. The
thing that sparked their development was an engineer’s question, “Why
don’t we build a little _model_ of these circuits?” Solving problems in
circuitry was almost like playing with toys, using the circuit
analyzers, although the toys grew to sizable proportions with hundreds
of components. Some of the direct-current analog type are still
operating in Schenectady, New York, and at Purdue University.
A simple battery-powered electric analog gives us an excellent example
of the principle of all analog machines. Using potentiometers, which
vary the resistance of the circuit, we set in the problem. The answer is
read out on a voltmeter. Quite simply, a known input passing through
known resistances will result in a proportional voltage. All that
remains is assigning values to the swing of the voltmeter needle, a
process called “scaling.” For instance, we might let one volt represent
100 miles, or 50 pounds, or 90 degrees. Obviously, as soon as we have
set in the problem, the answer is available on the voltmeter. It is this
factor that gives the analog computer its great speed.
General Electric and Westinghouse were among those building the
direct-current analyzer, and the later alternating-current network type
which came along in the 1930’s. The mechanical analogs were by no means
forgotten, even with the success of the new electrical machines. Dr.
Vannevar Bush, famous for many other things as well, started work on his
analog mechanical differential analyzer in 1927 at the Massachusetts
Institute of Technology. Bush drew on the pioneering work of Kelvin and
other Englishmen, improving the design so that he could do tenth-order
calculations.
Following Bush’s lead, engineers at General Electric developed further
refinements to the “Kelvin wheels,” using electrical torque amplifiers
for greater accuracy. The complexity of these computers is indicated in
the size of one built in the early 1940’s for the University of
California. It was a giant, a hundred feet long and filled with
thousands of parts. Not merely huge, it represented a significant stride
ahead in that it could perform the operation of integration with respect
to functions other than just time. Instead of being a “direct” analog,
the new machine was an “indirect” analog, a model not of a physical
thing but of the mathematics expressing it. Engineers realized that the
mechanical beast, as they called it, represented something of a dinosaur
in computer evolution and could not survive. Because of its size, it
cost thousands of dollars merely to prepare a place for its
installation. Besides, it was limited in the scope of its work.
During World War II, however, it was all we had, and beast or not, it
worked around the clock solving engineering problems, ballistics
equations, and the like. England did work in this field, and
Meccano—counterpart of the Gilbert Erector Set firm in the United
States—marketed a do-it-yourself differential analyzer. The Russians too
built mechanical differential analyzers as early as 1940.
Electronics came to the rescue of the outsized mechanical analog
computers during and after the war. Paced by firms like Reeves
Instrument and Goodyear Aircraft, the electronic analog superseded the
older mechanical type. There was of course a transitional period, and an
example of this stage is the General Electric fire-control computer
installed in the B-29. It embraced mechanical, electrical, and
electronic parts to do just the sort of job ideally suited to the analog
type of device: that of tracking a path through space and predicting the
future position of a target so that the gunsight aims at the correct
point in space for a hit.
Another military analog computer was the Q-5, used by the Signal Corps
to locate enemy gun installations. From the track of a projectile on a
radar screen, the Q-5 did some complicated mathematics to figure
backwards and pinpoint the troublesome gun. There were industrial
applications as well for the analog machine. In the 1950’s, General
Electric built computers to solve simultaneous linear equations for the
petroleum industry. To us ultimate users, gasoline poses only one big
mathematical problem—paying for a tankful. Actually, the control
operations involved in processing petroleum are terribly involved, and
the special analog computer had to handle twelve equations with twelve
unknown quantities simultaneously. This is the sort of problem that eats
up man-years of human mathematical time; even a modern digital computer
has tough and expensive going, but the analog does this work rapidly and
economically.
Another interesting analog machine was called the Psychological Matrix
Rotation Computer. This implemented an advanced technique called
multiple-factor analysis, developed by Thurston of the University of
Illinois for use in certain psychological work. Multiple-factor analysis
is employed in making up the attribute tests used by industry and the
military services for putting the right man in the right job. An
excellent method, it was too time-consuming for anything but rough
approximations until the analog computer was built for it. In effect,
the computer worked in twelve dimensions, correlating traits and
aptitudes. It was delivered to the Adjutant General’s Office and is
still being used, so Army men who wonder how their background as baker
qualifies them for the typing pool may have the Psychological Matrix
Rotation Computer to thank.
In the early 1950’s, world tension prompted the building of another
advanced analog computer, this one a jet engine simulator. Prior to its
use, it took about four years to design, build, and test a new jet
engine. Using the simulator, the time was pared to half that amount. It
was a big computer, even though it was electronic. More than 6,000
vacuum tubes, 1,700 indicator lights, and 2,750 dials were hooked up
with more than 25 miles of wire, using about 400,000 interconnections.
All of this required quite a bit of electrical power, about what it
would take to operate fifty kitchen ranges. But it performed in “real”
time, and could keep tabs on an individual molecule of gas from the time
it entered the jet intake until it was ejected out the afterburner!
Other analog computers were developed for utility companies to control
the dispatching of power to various consumers in the most efficient
manner. Again the principle was simply to build a model or analog of an
actual physical system and use it to predict the outcome of operation of
that system.
From our brief skim of the history of the analog computer we can
recognize several things about this type of machine. Since the analog is
a simulator in most cases, we would naturally expect it to be a
special-purpose machine. In other words, if we had a hundred different
kinds of problems, and had to build a model of each, we would end up
with a hundred special-purpose computers. It follows too that the analog
computer will often be a part of the system it serves, rather than a
separate piece of equipment.
[Illustration:
_The Boeing Co._
Analog machine used as flight simulator for jet airliner; a means of
testing before building.
]
There are general-purpose analog computers, of course, designed for
solving a broad class of problems. They are usually separate units,
instead of part of the system. We can further break down the
general-purpose analog computer into two types; direct and indirect. A
direct analog is exemplified in the tank gauge consisting of a float
with a scale attached. An indirect analog, such as the General Electric
monster built for the University of California mentioned earlier, can
use one dependent variable, such as voltage, to represent all the
variables of the prototype. Such an analog machine is useful in
automatic control and automation processes.
Finally, we may subdivide our direct analog computer one further step
into “discrete” analogs or “continuous” analogs. The term “discrete” is
the quality we have ascribed to the digital computer, and a discrete
analog is indicative of the overlap that occurs between the two types.
Another example of this overlap is the representation of “continuous”
quantities by the “step-function” method in a digital device. As we
shall see when we discuss hybrid or analog-digital computers, such
overlap is as beneficial as it is necessary.
[Illustration:
_General Motors Corp._
Large analog computer in rear controls car, subjecting driver to
realistic bumps, pitches, and rolls, for working out suspension
problems of car.
]
We are familiar now with mechanical, electromechanical, and fully
electronic analogs. Early machines used rods of certain lengths, cams,
gears, and levers. Fully electronic devices substitute resistors,
capacitors, and inductances for these mechanical components, adding
voltages instead of revolutions of shafts, and counting turns of wire in
a potentiometer instead of teeth on a gear. Engineers and technicians
use terms like “mixer,” “integrator,” and “rate component,” but we may
consider the analog computer as composed of passive networks plus
amplifiers where necessary to boost a faint signal.
Some consideration of what we have been discussing will give us an
indication of the advantages of the analog computer over the digital
type. First and most obvious, perhaps, is that of simplicity. A digital
device for recording temperature could be built; but it would hardly
improve on the simplicity of the ordinary thermometer. Speed is another
desirable attribute of most analog computers. Since operation is
parallel, with all parts of the problem being worked on at once, the
answer is reached quickly. This is of particular importance in “on-line”
application where the computer is being used to control, let us say, an
automatic machining operation in a factory. Even in a high-speed
electronic digital computer there is a finite lag due to the speed of
electrons. This “slack” is not present in a direct analog and thus there
is no loss of precious time that could mean the difference between a
rejected and a perfect part from the lathe.
It follows from these very advantages that there are drawbacks too. The
analog computer that automatically profiles a propeller blade in a
metalworking machine cannot mix paint to specifications or control the
speed of a subway train unless it is a very special kind of
general-purpose analog that would most likely be the size of Grand
Central Station and sell for a good part of the national debt. Most
analogs have one particular job they are designed for; they are
specialists with all the limitations that the word implies.
There is one other major disadvantage that our analog suffers by its
very nature. We can tolerate the approximate answer 3.98 instead of 4,
because most of us recognize the correct product of 2 times 2. But few
production managers would want to use 398 rivets if it took 400 to do
the job safely—neither would they want to use 402 and waste material.
Put bluntly, the analog computer is less accurate than its digital
cousin. It delivers answers not in discrete units, but approximations,
depending on the accuracy of its own parts and its design. Calculo, an
electrical-analog computer produced for science students, has an
advertised accuracy of 5 per cent at a cost of about $20. The makers
frankly call it an “estimator.” This is excellent for illustrating the
principles of analog machines to interested youngsters, but the students
could have mathematical accuracy of 100 per cent from a digital computer
called the abacus at a cost of less than a dollar.
Greater accuracy in the analog computer is bought at the expense of
costlier components. Up to accuracies of about 1 per cent error it is
usually cheaper to build an analog device than a digital, assuming such
a degree of accuracy is sufficient, of course. Analog accuracies ten
times the 1 per cent figure are feasible, but beyond that point costs
rise very sharply and the digital machine becomes increasingly
attractive from a dollars and cents standpoint. Designers feel that
accuracies within 0.01 per cent are pushing the barriers of
practicality, and 0.001 per cent probably represents the ultimate
achievable. Thus the digital computer has the decided edge in accuracy,
if we make some realistic allowances. For example, the best digital
machine when asked to divide 10 by 3 can never give an exact answer, but
is bound to keep printing 3’s after the decimal point!
There are other differences between our two types of computers, among
them being the less obvious fact that it is harder to make a
self-checking analog computer than it is to build the same feature into
the digital. However, the most important differences are those of
accuracy and flexibility.
For these reasons, the digital computer today is in the ascendant,
although the analog continues to have its place and many are in
operation in a variety of chores. We have mentioned fire control and the
B-29 gunsight computer in particular. This was a pioneer airborne
computer, and proved that an analog could be built light enough for such
applications. However, most fire-control computers are earthbound
because of their size and complexity. A good example is the ballistic
computer necessary for the guns on a battleship. In addition to the
normal problem of figuring azimuth and elevation to place a shell on
target, the gun aboard ship has the additional factors of pitch, roll,
and yaw to contend with. These inputs happen to be ideal for analog
insertion, and a properly designed computer makes corrections
instantaneously as they are fed into it.
A fertile field for the analog computer from the start was that of
industrial process control. Chemical plants, petroleum refineries, power
generating stations, and some manufacturing processes lend themselves to
control by analog computers. The simplicity and economy of the
“modeling” principle, plus the instantaneous operation of the analog,
made it suitable for “on-line” or “on-stream” applications.
The analog computer has been described as useful in the design of
engines; it also helps design the aircraft in which these engines are
used, and even simulates their flight. A logical extension of this use
is the training of pilots in such flight simulators. One interesting
analog simulator built by Goodyear Aircraft Corporation studied the
reactions of a pilot to certain flight conditions and then was able to
make these reactions itself so faithfully that the pilot was unaware
that the computer and not his own brain was accomplishing the task.
The disciplines of geometry, calculus, differential equations, and other
similar mathematics profit from the analog computer which is able to
make a model of their curves and configurations and thus greatly speed
calculations. Since the analog is so closely tied to the physical rather
than the mental world, it cannot cope with discrete numbers, and formal
logic is not its cup of tea.
Surely, progress has been made and improvements continue to be designed
into modern analog computers. Repetitive operations can now be done
automatically at high speed, and the computer even has a memory.
High-speed analog storage permits the machine to make sequential
calculations, a job once reserved for the digital computer. But even
these advances cannot offset the basic limitations the analog computer
is heir to.
Fewer analog machines are being built now, and many in existence do not
enjoy the busy schedule of the digital machines. As the mountains of
data pile up, created incidentally by computers in the first place, more
computers are needed to handle and make sense of them. It is easier to
interpret, store, and transmit digital information than analog; the
digital computer therefore takes over this important task.
Even in control systems the digital machine is gaining popularity; its
tremendous speed offsets its inherent cumbersomeness and its accuracy
tips the scales more in its favor. These advantages will be more
apparent as we discuss the digital machine on the next pages and explain
the trend toward the hybrid machine, ever becoming more useful in the
computer market place. Of course, there will always be a place for the
pure analog—just as there has always been for any specialist, no matter
what his field.
_The Digital Counter_
The digital computer was first on the scene and it appears now that it
will outnumber and perhaps outlive its analog relative. A simple
computer of this type is as old as man, though it is doubtful that it
has been in use that long. Proof of this claim to its pioneering are the
words _digit_ and _calculi_, for finger and pebbles, respectively. We
counted “how many” before we measured “how large,” and the old Romans
tallied on fingers until they ran out and then supplemented with
pebbles.
Perhaps the first computations more complex than simple counting of
wives or flocks came about when some wag found that he could ascertain
the number of sheep by counting legs and dividing by four. When it was
learned that the thing worked both ways and that the number of pickled
pigs feet was four times the number of pigs processed, arithmetic was
born. The important difference between analog and digital, of course, is
that the latter is a means of counting, a dealing with discrete numbers
rather than measuring.
This kind of computation was taxed sorely when such things as fractions
and relationships like _pi_ came along, but even then man has managed to
continue dealing with numbers themselves rather than quantity. Just as
the slide rule is a handy symbol for the analog computer, the abacus
serves us nicely to illustrate the digital type, and some schools make a
practice of teaching simple arithmetic to youngsters in this manner.
Our chapter on the history of the computer touched on early efforts in
the digital field, though no stress was laid on the distinction between
types. We might review a bit, and pick out which of the mechanical
calculating devices were actually digital. The first obviously was the
abacus. It was also the only one for a long time. Having discovered the
principle of analogy, man leaned in that direction for many centuries,
and clocks, celestial simulators, and other devices were analog in
nature. Purists point out that even the counting machines of Pascal and
Leibnitz were analog computers, since they dealt with the turning of
shafts and gears rather than the manipulation of digits. The same
reasoning has caused some debate about Babbage’s great machines in the
1800’s, although they are generally considered a digital approach to
problem-solving. Perhaps logicians had as much as anyone to do with the
increasing popularity of the digital trend when they pointed out the
advantages of a binary or two-valued system.
With the completion in 1946 by Eckert and Mauchly of the electronic
marvel they dubbed ENIAC, the modern digital computer had arrived and
the floodgates were opened for the thousands of descendants that have
followed. For every analog computer now being built there are dozens or
perhaps hundreds of digital types. Such popularity must be deserved, so
let us examine the creature in an attempt to find the reason.
[Illustration:
Courtesy of the _National Science Foundation_
The computer family tree. Its remarkable growth began with
government-supported research, continued in the universities; and
the current generation was developed primarily in private industry.
]
We said that by its nature the analog device tended to be a
special-purpose computer. The digital computer, perhaps because its
basic operation is so childishly simple, is best suited for
general-purpose work. It is simple, consisting essentially of switches
that are either on or off. Yet Leibnitz found beauty in that simplicity,
and even the explanation of the universe. Proper interconnection of
sufficient on-off switches makes possible the most flexible of all
computers—man’s brain. By the same token, man-made computers of the
digital type can do a wider variety of jobs than can the analog which
seemingly is more sophisticated.
A second great virtue of the digital machine is its accuracy. Even a
trial machine of Babbage had a 5-place accuracy. This is an error of
only one part in ten thousand, achievable in the analog at great
expense. This was of course only a preliminary model, and the English
inventor planned 20-place accuracy in his dream computer. Present
electronic digital computers offer 10-place accuracy as commonplace, a
precision impossible of achievement in the analog.
We pointed out in the discussion of analog computers that the complexity
and expense of increased accuracy was in direct proportion to the degree
of accuracy desired. Happily for the digital machine, the reverse is
true in its case. Increasing accuracy from five to six figures requires
a premium of one-fifth, or 20 per cent. But jumping from 10-place to
11-place precision costs us only 10 per cent, and from 20-place to
21-place drops to just 5 per cent.
Actually, such a high degree of accuracy is not necessary in most
practical applications. For example, the multiplication of 10-digit
numbers may yield a 20-digit answer. If we desired, we could increase
the capability of our digital computer to twenty digits and give an
accuracy of one part in 10 million trillion! However, we simply “round
off” the last ten digits and leave the answer in ten figures, an
accuracy no analog computer can match. The significant point is that the
analog can never hope to compete with digital types for accuracy.
A third perhaps not as important advantage the digital machine has is
its compactness. We are speaking now of later computers, and not the
pioneer electromechanical giants, of course. The transistor and other
small semiconductor devices supplanted the larger tubes, and magnetic
cores took the place of cruder storage components. Now even more exotic
devices are quietly ousting these, as magnetic films and cryotrons begin
to be used in computers.
[Illustration:
_Science Materials Center_
BRAINIAC, another do-it-yourself computer. This digital machine is
here being programmed to solve a logic problem involving a will.
]
This drastic shrinking of size by thinking small on the part of computer
designers increases the capacity of the digital computer at no sacrifice
in accuracy or reliability. The analog, unfortunately, cannot make use
of many of these solid-state devices. Again, the bugaboo of accuracy is
the reason; let’s look further into the problem.
The most accurate and reliable analog computers are mechanical in
nature. We can cut gears and turn shafts and wheels to great accuracy
and operate them in controlled temperature and humidity. Paradoxically,
this is because mechanical components are nearer to digital
presentations than are electrical switches, magnets, and electronic
components. A gear can have a finite number of teeth; when we deal with
electrons flowing through a wire we leave the discrete and enter the
continuous world. A tiny change in voltage or current, or magnetic flux,
compounded several hundred times in a complex computer, can change the
final result appreciably if the errors are cumulative, that is, if they
are allowed to pile up. This is what happens in the analog computer
using electrical and electronic components instead of precisely machined
cams and gears.
The digital device, on the other hand, is not so penalized. Though it
uses electronic switches, these can be so set that even an appreciable
variation in current or voltage or resistance will not affect the proper
operation of the switch. We can design a transistor switch, for example,
to close when the current applied exceeds a certain threshold. We do not
have to concern ourselves if this excess current is large or small; the
switch will be on, no more and no less. Or it will be completely off.
Just as there is no such thing as being a little bit dead, there is no
such thing as a partly off digital switch. So our digital computer can
make use of the more advanced electronic components to become more
complex, or smaller, or both. The analog must sacrifice its already
marginal accuracy if it uses more electronics. The argument here is
simplified, of course; there are electronic analog machines in
operation. However, the problem of the “drift” of electronic devices is
inherent and a limiting factor on the performance of the analog.
These, then, are some of the advantages the digital computer has over
its analog relative. It is more flexible in general—though there are
_some_ digital machines that are more specialized than _some_ analog
types; it is more accurate and apparently will remain so; and it is more
amenable to miniaturization and further complexity because its designer
can use less than perfect parts and produce a perfect result.
In the disadvantage department the digital machine’s only drawback seems
to be its childish way of solving problems. About all it knows how to do
is to add 1 and 1 and come up with 2. To multiply, it performs
repetitive additions, and solving a difficult equation becomes a
fantastically complex problem when compared with the instantaneous
solution possible in the analog machine. The digital computer redeems
itself by performing its multitudinous additions at fabulous speeds.
Because it must be fed digits in its input, the digital machine is not
economically feasible in many applications that will probably be
reserved for the analog. A digital clock or thermometer for household
use would be an interesting gimmick, but hardly worth the extra trouble
and expense necessary to produce. Even here, though, first glances may
be wrong and in some cases it may prove worth while to convert analog
inputs to digital with the reverse conversion at the output end. One
example of this is the airborne digital computer which has taken over
many jobs earlier done by analog devices.
There is another reason for the digital machines ubiquitousness, a
reason it does not seem proper to list as merely a relative advantage
over the analog. We have described the analog computer used as an aid to
psychological testing procedures, and its ability to handle a
multiplicity of problems at once. This perhaps tends to obscure the fact
that the digital machine by its very on-off, yes-no nature is ideally
suited to the solving of problems in logic. If it achieves superiority
in mathematics in spite of its seemingly moronic handling of numbers, it
succeeds in logic because of this very feature.
While it might seem more appropriate that music be composed by analogy,
or that a chess-playing machine would likely be an analog computer, we
find the digital machine in these roles. The reason may be explained by
our own brains, composed of billions of neurons, each capable only of
being on or off. While many philosophers build a strong case for the
yes-no-maybe approach with its large areas of gray, the discipline of
formal logic admits to only two states, those that can so conveniently
be represented in the digital computer’s flip-flop or magnetic cores.
The digital computer, then, is not merely a counting machine, but a
decision-maker as well. It can decide whether something should be added,
subtracted, or ignored. Its logical manipulations can by clever
circuitry be extended from AND to OR, NOT, and NOR. It thus can solve
not only arithmetic, but also the problems of logic concerning foxes,
goats, and cabbages, or cannibals and missionaries that give us human
beings so much trouble when we encounter them.
The fact that the digital computer is just such a rigorously logical and
unbending machine poses problems for it in certain of its dealings with
its human masters. Language ideally should be logical in its structure.
In general it probably is, but man is so perverse that he has warped and
twisted his communications to the point that a computer sticking
strictly to book logic will hit snags almost as soon as it starts to
translate human talk into other human talk, or into a logical machine
command or answer.
For instance, we have many words with multiple meanings which give rise
to confusion unless we are schooled in subtleties. There are stories,
some of them apocryphal but nonetheless pointing up the problem, of
terms like “water goat” cropping up in an English-to-Russian
translation. Investigation proved that the more meaningful term would
have been “hydraulic ram.” In another interesting experiment, the
expression, “the spirit is willing but the flesh is weak” was machine
translated into Russian, and then that result in turn re-translated back
into English much in the manner of the party game of “Telephone” in
which an original message is whispered from one person to another and
finally back to the originator. In this instance, the final version was,
“The vodka is strong, but the meat is rotten.”
It is a fine distinction here as to who is wrong, the computer or man
and his irrational languages. Chances are that in the long run true
logic will prevail, and instead of us confusing the computer it will
manage instead to organize our grammar into the more efficient tool it
should be. With proper programming, the computer may even be able to
retain sufficient humor and nuance to make talk interesting and colorful
as well as utilitarian.
We can see that the digital machine with its flexibility, accuracy, and
powerful logical capability is the fair-haired one of the computer
family. Starting with _a_ for abacus, digital computer applications run
through practically the entire alphabet. Its take-over in the banking
field was practically overnight; it excels as a tool for design and
engineering, including the design and engineering of other computers.
Aviation relies heavily on digital computers already, from the sale of
tickets to the control of air traffic.
Gaming theory is important not only to the Saturday night poker-player
and the Las Vegas casino operator, but to military men and
industrialists as well. Manufacturing plants rely more and more on
digital techniques for controls. Language translation, mentioned lightly
above, is a prime need at least until we all begin speaking Esperanto,
Io, or Computerese. Taxation, always with us, may at least be more
smoothly handled when the computers take over. Insurance, the
arrangement of music, spaceflight guidance, and education are random
fields already dependent more or less on the digital computer. We will
not take the time here to go thoroughly into all the jobs for which the
computer has applied for work and been hired; that will be taken up in
later chapters. But from even a quick glance the scope of the digital
machine already should be obvious. This is why it is usually a safe
assumption that the word computer today refers to the digital type.
_Hybrid Computers_
We have talked of the analog and the digital; there remains a further
classification that should be covered. It is the result of a marriage of
our two basic types, a result naturally hybrid. The analog-digital
computer is third in order of importance, but important nonetheless.
[Illustration:
_Minneapolis-Honeywell_
Nerve center of Philadelphia Electric Company’s digital
computer-directed automatic economic dispatch system is this console
from which power directors operate and supervise loading of
generating units at minimum incremental cost.
]
Necessity, as always, mothered the invention of the analog-digital
machine. We have talked of the relative merits of the two types; the
analog is much faster on a complex problem such as solving simultaneous
equations. The digital machine is far more accurate. As an example, the
Psychological Matrix Rotator described earlier could solve its twelve
equations practically instantaneously. A digital machine might take
seconds—a terribly long time by computer standards. If we want an
accurate high-speed differential analyzer, we must combine an analog
with a digital computer.
Because the two are hardly of the same species, this breeding is not an
easy thing. But by careful study, designers effected the desired mating.
The hybrid is not actually a new type of computer, but two different
types tied together and made compatible by suitable converters.
The composite consists of a high-speed general-purpose digital computer,
an electronic analog computer, an analog-to-digital converter, a
digital-to-analog and a suitable control for these two converters. The
converters are called “transducers” and have the ability of changing the
continuous analog signal into discrete pulses of energy, or vice versa.
Sometimes called digital differential analyzers, the hybrid computers
feature the ease of programming of the analog, plus its speed, and the
accuracy and much broader range of the digital machine. Bendix among
others produced such machines several years ago. The National Bureau of
Standards recently began development of what it calls an analog-digital
differential analyzer which it expects to be from ten to a hundred times
more accurate than earlier hybrid computers. The NBS analyzer will be
useful in missile and aircraft design work.
Despite its apparent usefulness as a compromise and happy medium between
the two types, the hybrid would seem to have as limited a future as any
hybrid does. Pure digital techniques may be developed that will be more
efficient than the stopgap combination, and the analog-digital will fall
by the wayside along the computer trail.
_Summary_
Historically, the digital computer was first on the scene. The analog
came along, and for a time was the more popular for a variety of
reasons. One of these was the naïve, cumbersome mode of operation the
digital computer is bound to; another its early lack of speed. Both
these drawbacks have been largely eliminated by advances in electronics,
and apparently this is only the beginning. In a few years the technology
has progressed from standard-size vacuum tubes through miniature tubes
and the shrinking of other components, to semiconductors and other
tinier devices, and now we have something called integrated circuitry,
with molecular electronics on the horizon. These new methods promise
computer elements approaching the size of the neurons in our own brains,
yet with far faster speed of operation.
Such advances help the digital computer more than the analog, barring
some unexpected breakthrough in the accuracy problem of the latter.
Digital building blocks become ever smaller, faster, cheaper, and more
reliable. Computers that fit in the palm of the hand are on the market,
and are already bulky by comparison with those in the laboratory. The
analog-digital hybrid most likely will not be new life for the analog,
but an assimilating of its better qualities by the digital.
------------------------------------------------------------------------
“‘_What’s one and one and one and one and one and one and one and one
and one and one?_’
‘_I don’t know,’ said Alice. ‘I lost count._’
‘_She can’t do Addition,’ the Red Queen interrupted._”
—Lewis Carroll
5: The Binary Boolean Bit
In this world full of “bigness,” in which astronomical numbers apply not
only to the speed of light and the distance to stars but to our national
debt as well, it is refreshing to recall that some lucky tribes have a
mathematical system that goes, “One—two—plenty!” Such an uncluttered
life at times seems highly desirable, and we can only envy those who
lump all numbers from three to billions as simply “plenty.”
Instead we are faced today with about as many different number systems
as there are numbers, having come a long way from the dawn of counting
when an even simpler method than “one—two—plenty” prevailed. Man being
basically self-centered, he first thought in terms of “me,” or one. Two
was not a concept, but two “ones”; likewise, three “ones” and so on.
Pebbles were handy, and to represent the ten animals slain during the
winter, a cave man could make ten scratches on the wall or string out
that many stones.
It is said that the ancient cabbies in Rome had a taximeter that dropped
pebbles one by one onto a plate as the wheels turned the requisite
number of revolutions. This plate of stones was presented to the
passenger at the end of his ride—perhaps where we get the word “fare”!
Prices have risen so much that it would take quite a bag of pebbles in
the taximeter today.
Using units in this manner to express a sum is called the unitary
system. It is the concept that gives rise to the “if all the dollars
spent in this country since such and such a time were laid end to end—”
analogies. Put to practice, this might indeed have a salutary effect,
but long ago man learned that it was not practical to stick to a
one-for-one representation.
How long it was before we stumbled onto the fact that we had a “handy”
counting system attached to our wrists is not positively known, but we
eventually adopted the decimal system. In some places the jump from one
to ten was not made completely. The Pueblo Indians, for instance, double
up one fist each time a sum of five is reached. Thus the doubled fist
and two fingers on the other hand signifies seven. In the
mathematician’s language, this is a modulo-5 system. The decimal system
is modulo-10; in other words we start over each time after reaching 10.
Besides the word digit in our vocabulary to tie fingers and numbers, the
Roman numerals V and X are graphic representations of one hand with
thumb widespread, and two hands crossed, respectively. A point worth
remembering is that the decimal system was chosen arbitrarily because we
happen to have ten digits. There is no divine arithmetical significance
in the number 10; in fact mathematicians would prefer 12, since it can
be divided more ways.
The ancient Mayans, feeling that if 10 were ten times as good as 1, then
surely 20 would be twice the improvement of the decimal system. So they
pulled off their boots and added toes to fingers for a modulo-20 number
system. Their word for 20, then, is the same as that for “the whole man”
for very good reason. Other races adopted even larger base systems, the
base of 60 being an example.
If we look to natural reasons for the development of number systems, we
might decide that the binary, or two-valued system, did not attain much
prominence in naïve civilizations because there are so few one-legged,
two-toed animals! Only when man built himself a machine uniquely suited
to two-valued mathematics did the binary system come into its own.
Numbers are merely conventions, rigorous conventions to be sure with no
semantic vagueness. God did not ordain that we use the decimal system,
as evidenced in the large number of other systems that work just fine.
Some abacuses use the biquinary system, and there are septal, octal, and
sexagesimal systems. We can even express numbers in an ABC or XYZ
notation. So a broad choice was available for the computer designer when
he began to look about for the most efficient system for his new
machine.
Considering only the question of a radix, or base, which will permit the
fewest elements to represent the desired numbers, mathematicians can
show us that a base of not 10, or 12, or any other whole number is most
efficient, but the fraction 2.71828. The ideal model is not found in
man, then, since man does not seem to have 2.71828 of anything. However,
the strange-looking number does happen to be the base of the system of
natural logarithms.
Now a system of mathematics based on 2.71828 might make the most
efficient use of the components of the computer, but it would play hob
with other factors, including the men who must work with such a weird
set of numbers. As is often done, a compromise was made between ideal
and practical choices. Since the computer with the most potential seems
to be the electronic computer, and since its operation hinges on the
opening and closing of simple or sophisticated switches, a two-valued
mathematical system, the binary system, was chosen. It wasn’t far from
the ideal 2.71828, and there was another even more powerful reason for
the choice. Logic is based on a yes-no, true-false system. Here, then,
was the best of all possible number systems: the lowly, apparently
far-from-sophisticated binary notation. As one writer exclaimed sadly, a
concept which had been hailed as a monument to monotheism ended up in
the bowels of a robot!
_The Binary System_
It is believed from ancient writings that the Chinese were aware of the
binary or two-valued system of numbers as early as 3000 B.C. However,
this fact was lost as the years progressed, and Leibnitz thought that he
had discovered binary himself almost 5,000 years later. In an odd twist,
Leibnitz apprised his friend Grimaldi, the Jesuit president of the
Tribunal of Mathematics in China, of the religious significance of
binary 1 and 0 as an argument against Buddhism!
A legend in India also contains indications of the power of the binary
system. The inventor of the game of chess was promised any award he
wanted for this service to the king. The inventor asked simply that the
king place a grain of wheat on the first square of the board, two on the
second, and then four, eight, and so on in ascending powers of two until
the sixty-four squares of the board were covered. Although the king
thought his subject a fool, this amount of wheat would have covered the
entire earth to a depth of about an inch!
We are perhaps more familiar with the binary system than we realize.
Morse code, with its dots and dashes, for example, is a two-valued
system. And the power of a system with a base of two is evident when we
realize that given a single one-pound weight and sufficient two-pound
weights we can weigh _any_ whole-numbered amounts.
At first glance, however, binary numbers seem a hopeless conglomeration
of ones and zeros. This is so only because we have become conditioned to
the decimal system, which was even more hopeless to us as youngsters. We
may have forgotten, with the contempt of familiarity, that our number
system is built on the idea of powers. In grade school we learned that
starting at the right we had units, tens, hundreds, thousands, and so
on. In the decimal number 111, for example, we mean 1 times 10^2, plus 1
times 10^1, plus 1. We have handled so many numbers so many times we
have usually forgotten just what we are doing, and how.
The binary system uses only two numbers: 1 and 0. So it is five times as
simple as the decimal system. It uses powers of two rather than ten,
again far simpler. Let’s take the binary number 111 and break it down
just as we do a decimal number. Starting at the left, we have 1 times
2^2, plus 1 times 2^1, plus 1. This adds up to 7, and there is our
answer.
The decimal system is positional; this is what made it so much more
effective in the simple expression of large numbers than the Roman
numeral system. Binary is positional too, and for larger numbers we
continue moving toward the left, increasing our power of two each time.
Thus 1111 is 2^3 plus 2^2 plus 2^1 plus 1.
[Illustration:
_System Development Corp._
A computer teaching machine answering a question about the binary
system.
]
We are familiar with decimal numbers like 101. This means 1 hundred, no
tens, and 1 unit. Likewise in binary notation 101 means one 4, no 2’s,
and one 1. For all its seeming complexity, then, the binary system is
actually simpler than the “easy” decimal one we are more familiar with.
But despite its simplicity, the binary system is far from being inferior
to the decimal system. You can prove this by doing some counting on your
fingers.
Normally we count, or tally, by bending down a finger for each new unit
we want to record. With both hands, then, we can add up only ten units,
a quite limited range. We can add a bit of sophistication, and assign a
different number to each finger; thus 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Now, believe it or not, we can tally up to 55 with our hands! As each
unit is counted, we raise and lower the correct finger in turn. On
reaching 10, we leave that finger—thumb, actually—depressed, and start
over with 1. On reaching 9, we leave it depressed, and so on. We have
increased the capacity of our counting machine by 5-1/2 times without
even taking off our shoes. The mathematician, by the way, would say we
have a capability of not 55 but 56 numbers, since all fingers up would
signify 0, which can be called a number. Thus our two hands represent to
the mathematician a modulo-56 counter.
This would seem to vanquish the lowly binary system for good, but let’s
do a bit more counting. This time we will assign each finger a number
corresponding to the powers of 2 we use in reading our binary numbers.
Thus we assign the numbers 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512.
How many units can we count now? Not 10, or 55, but a good bit better
than that. Using binary notation, our ten digits can now record a total
of 1,023 units. True, it will take a bit of dexterity, but by bending
and straightening fingers to make the proper sums, when you finally have
all fingers down you will have counted 1,023, or 1,024 if you are a
mathematical purist.
Once convinced that the binary method does have its merits, it may be a
little easier to pursue a mastery of representing numbers in binary
notation, difficult as it may seem at the outset. The usual way to
convert is to remember, or list, the powers of 2, and start at the left
side with the largest power that can be divided into the decimal number
we want to convert. Suppose we want to change the number 500 into
binary. First we make a chart of the positions:
Power of 2 8 7 6 5 4 3 2 1 0
─────────────────────────────────────────────────────────────
Decimal Number 256 128 64 32 16 8 4 2 1
─────────────────────────────────────────────────────────────
Binary Number 1 1 1 1 1 0 1 0 0
Since 256 is the largest number that will go into 500, we start there,
knowing that there will be nine binary digits, or “bits” in our answer.
We place a 1 in that space to indicate that there is indeed an eighth
power of 2 included in 500. Since 128 will go into the remainder, we put
a 1 in that space also. Continuing in this manner, we find that we need
1’s until we reach the “8” space which we must skip since our remainder
does not contain an 8. We mark a 1 in the 4 space, but skip the 2 and
the 1. Our answer, then, in binary notation is 111110100. This number is
called “pure binary.” It can also lead to pure torture for human
programmers whose eyes begin to bug with this “bit chasing,” as it has
come to be called. Everything is of course relative, and the ancient
Roman might gladly have changed DCCCLXXXVIII to binary 1101111000, which
is two digits shorter.
There is a simpler way of converting that might be interesting to try
out. We’ll start with our same 500. Since it is an even number, we put a
0 beneath it. Moving to the left, we divide by two and get 250. This
also is an even number, so we mark down a 0 in our binary equivalent.
The next division gives 125, an odd number, so we put down a 1. We
continue to divide successively, marking a zero for each even remainder,
and a 1 for the odd. Although it may not be obvious right away, we are
merely arriving at powers of two by a process called mediation, or
halving.
Decimal 1 3 7 15 31 62 125 250 500
─────────────────────────────────────────────────────
Binary 1 1 1 1 1 0 1 0 0
Obviously we can reverse this procedure to convert binary numbers to
their decimal equivalents.
There is an interesting extension of this process called duplication by
which multiplication can be done quite simply. Let us multiply 95 times
36. We will halve our 95 as we did in the earlier example, while
doubling the 36. This time when we have an even number in the left
column, we will simply cancel out the corresponding number in the right
column.
95 36
47 72
23 144
11 288
5 576
2 ****
1 2304
——
3420
This clever bit of mathematics is called Russian peasant multiplication,
although it was also known to early Egyptians and many others. It
permits unschooled people, with only the ability to add and divide, to
do fairly complex multiplication problems. Actually it is based on our
old stand-by, the binary system. What we have done is to represent the
95 “dyadically,” or by twos, and to multiply 36 successively by each of
these powers as applicable. We will not digress further, but leave this
as an example of the tricks possible with the seemingly simple binary
system.
Even after we have learned to convert from the decimal numbers we are
familiar with into binary notation almost by inspection, the results are
admittedly unwieldy for human handling. An employee who is used to
getting $105 a week would be understandably confused if the computer
printed out a check for him reading $1101001. For this reason the
computer programmer has reached a compromise with the machine. He speaks
decimal, it speaks binary; they meet each other halfway with something
called binary-coded decimal. Here’s the way it works.
A little thought will show that the decimal numbers from 0 through 9 can
be presented in binary using four bits. Thus:
_Decimal_ _Binary_
0 0
1 1
2 110
3 111
4 1100
5 1101
6 1110
7 10111
8 11000
9 11001
In the interest of uniformity we fill in the blanks with 0’s, so that
each decimal number is represented by a four-digit block, or word, of
binary code. Now when the computer programmer wants to feed the number
560 into the computer in binary he breaks it into separate words of 5,
6, and 0; or 0101, 0110, and 0000. In effect, we have changed $5 words
into four-bit words! The computer couldn’t care less, since it handles
binary digits at the rate of millions a second; and the human is better
able to keep his marbles while he works with the computer. Of course,
there are some computers that are classed as pure binary machines. These
work on mathematical problems, with none of the restrictions imposed by
human frailty. For the computer the pure binary system is more efficient
than the binary decimal compromise.
The four-digit words can be made to represent not only numbers, but
letters as well. When this is done it is called an alpha-numeric or
alphameric code. Incidentally, it is conceivable that language could be
made up of only 1’s and 0’s, or perhaps _a_’s and _b_’s would be better.
All it would take would be the stringing together of enough letters to
cover all the words there are. The result would be rather dull, with
words like _aabbababaabbaaba_, _bbaabbaabababaaabab_, and
_aaaaaaaaabaaa_; it is doubtful that the computer will make much headway
with a binary alphabet for its human masters.
In the early days of binary computer work, the direct conversion to
binary code we have discussed was satisfactory, but soon the designers
of newer machines and calculating methods began to juggle the digits
around for various reasons. For one thing, a decimal 0 was represented
by four binary 0’s. Electrically, this represents no signal at all in
the computer’s inner workings. If trouble happened, say a loose
connection, or a power failure for a split second, the word 0000 might
be printed out and accepted as a valid zero when it actually meant a
malfunction. So the designers got busy trying other codes than the basic
binary.
One clever result is the “excess-3” code. In this variation 3 is added
to each decimal number before conversion. A decimal 30 is then
represented by the word 0011 instead of 0000. There is, in fact, no such
computer word as 0000 in excess-3 code. This eliminates the possibility
of an error being taken for a 0. Excess-3 does something else too. If
each digit is changed, that is, if 1’s become 0’s and 0’s become 1’s,
the new word is the “9’s complement” of the original. For example, the
binary code for 4 in excess-3 is 0111. Changing all the digits, we get
1000, which is decimal 5. This is not just an interesting curiosity, but
the 9’s complement of 4 (9 minus 4). Anyone familiar with an adding
machine is used to performing subtraction by using complements of
numbers. The computer cannot do anything but add; by using the excess-3
code it can subtract by adding. Thus, while the computer cannot subtract
0110 from 1000, it can quite handily add 1001 to 1000 to get the same
result.
There are many other reasons for codes, among them being the important
one of checking for errors. “Casting out nines” is a well-known
technique of the bookkeeper for locating mistakes in work. Certain
binary codes, containing what is called a “parity bit,” have the
property of self-checking, in a manner similar to casting out nines. A
story is told of some pioneer computer designers who hit on the idea of
another means of error checking not as effective as the code method.
The idea was clever enough, it being that identical computers would do
each problem and compare answers, much like the pairs of abacus-wielders
in Japan’s banks. In case both computers did not come up with the same
answer, a correction would be made. With high hopes, the designers fed a
problem into the machines and sat back to watch. Soon enough a warning
light blinked on one machine as it caught an error. But simultaneously a
light blinked on the other. After that, chaos reigned until the power
plugs were finally pulled. Although made of metal and wires, the
computers demonstrated a remarkably human trait; each thought the other
was wrong and was doing its best to change its partner’s answer! The
solution, of course, was to add a third computer.
Binary decimal, as we have pointed out, is a wasteful code. The decimal
number 100 in binary decimal coding is 0001 0000 0000, or 12 digits.
Pure binary is 1100100, or only 7 digits. By going to a binary-octal
code, using eight numbers instead of ten, the words can be 3-bit instead
of 4-bit. This is called an “economy” code, and finds some application.
There are also “Gray” codes, reflected binary codes, and many more, each
serving a particular purpose. Fortunately for the designer, he can be
prodigal with his use of codes. With 4-bit words, 29 _billion_ codes are
available, so a number of them are still unused.
Having translated our decimal numbers into code intelligible to our
computer, we still have the mathematical operations to perform on it.
With a little practice we can add, subtract, multiply, and divide our
binary numbers quite easily, as in the examples that follow.
Addition: 1100 (12)
0111 ( 7)
—— ——
10011 (19)
Subtraction: 1010 (10)
- 0010 ( 2)
——— ——
1000 (8)
Multiplication: 0110 (6)
× 0011 (3)
——— –——
0110
0110
0000
0000
———
10010 (18)
TN1 Division: 1010 ÷ 10 = 0101 (10 ÷ 2 =
5)
The rules should be obvious from these examples. Just as we add 5 and 5
to get 0 with 1 to carry, we add 1 and 1 and get 0 with 1 to carry in
binary. Adding 1 and 0 gives 1, 0 and 0 gives 0. Multiplying 1 times 1
gives 1, 1 times 0 gives 0, and 0 times 0 gives 0. One divides into 1
once, and into 0 no times. Thus we can manipulate in just the manner we
are accustomed to.
The computer does not even need to know this much. All it is concerned
with is addition: 1 plus 1 gives 0 and 1 to carry; 1 plus 0 gives 1; and
0 plus 0 gives 0. This is all it knows, and all it needs to know. We
have described how it subtracts by adding complements. It can multiply
by repetitive additions, or more simply, by shifting the binary number
to the left. Thus, 0001 becomes 0010 in one shift, and 0100 in two
shifts, doubling each time. This is of course just the way we do it in
the decimal system. Shifting to the right divides by two in the binary
system.
The simplest computer circuitry performs additions in a serial manner,
that is, one operation at a time. This is obviously a slow way to do
business, and by adding components so that there are enough to handle
the digits in each row simultaneously the arithmetic operation is
greatly speeded. This is called parallel addition. Both operations are
done by parts understandably called adders, which are further broken
down into half-adders.
There are refinements to basic binary computation, of course. By using a
decimal point, or perhaps a binary point, fractions can be expressed in
binary code. If the position to the left of the point is taken as 2 to
the zero power, then the position just to the right of the point is
logically 2 to the minus one, which if you remember your mathematics
you’ll recognize as one-half. Two to the minus two is then one-fourth,
and so on. While we are on the subject of the decimal point,
sophisticated computers do what is called “floating-point arithmetic,”
in which the point can be moved back and forth at will for much more
rapid arithmetical operations.
No matter how many adders we put together and how big the computer
eventually gets, it is still operating in what seems an awkward fashion.
It is counting its fingers, of which it has two. The trick is in the
speed of this counting, so fast that one million additions a second is
now a commonplace. Try that for size in your own decimally trained head
and you will appreciate the computer a little more.
_The Logical Algebra_
We come now to another most important reason for the effectiveness of
the digital computer; the reason that makes it the “logical” choice for
not only mathematics but thinking as well. For the digital computer and
logic go hand in hand.
Logic, says Webster, is “the science that deals with canons and criteria
of validity in thought and demonstration.” He admits to the ironic
perversion of this basic definition; for example, “artillery has been
called the ‘_logic_ of kings,’” a kind of logic to make “argument
useless.” Omar Khayyám had a similar thought in mind when he wrote in
_The Rubáiyát_,
The grape that can with logic absolute,
The Two-and-Seventy Sects confute.
Other poets and writers have had much to say on the subject of logic
through the years, words of tribute and words of warning. Some, like
Lord Dunsany, counsel moderation even in our logic. “Logic, like
whiskey,” he says, “loses its beneficial effect when taken in too large
quantities.” And Oliver Wendell Holmes asks,
Have you heard of the wonderful one-hoss shay
That was built in such a logical way
It ran a hundred years to the day?
The words logic and logical are much used and abused in our language,
and there are all sorts of logic, including that of women, which seems
to be a special case. For our purposes here it is best to stick to the
primary definition in the dictionary, that of validity in thought and
demonstration.
Symbolic logic, a term that still has an esoteric and almost mystical
connotation, is perhaps mysterious because of the strange symbology
used. We are used to reasoning in words and phrases, and the notion that
truth can be spelled out in algebraic or other notation is hard to
accept unless we are mathematicians to begin with.
We must go far back in history for the beginnings of logic. Aristotelian
logic is well known and of importance even though the old syllogisms
have been found not as powerful as their inventors thought. Modern
logicians have reduced the 256 possible permutations to a valid 15 and
these are not as useful as the newer kind of logic that has since come
into being.
Leibniz is conceded to be the father of modern symbolic logic, though he
probably neither recognized what he had done nor used it effectively. He
did come up with the idea of two-valued logic, and the cosmological
notion of 1 and 0, or substance and nothingness. In his _Characteristica
Universalis_ he was groping for a universal language for science; a
second work, _Calculus Ratiocinator_, was an attempt to implement this
language. Incidentally, Leibnitz was not yet twenty years old when he
formulated his logic system.
Unfortunately it was two centuries later before the importance of his
findings was recognized and an explanation of their potential begun. In
England, Sir William Hamilton began to refine the old syllogisms, and is
known for his “quantification of the predicate.” Augustus De Morgan,
also an Englishman, moved from the quantification of the predicate to
the formation of thirty-two rules or propositions that result. The stage
was set now for the man who has come to be known as the father of
symbolic logic. His name was George Boole, inventor of Boolean algebra.
In 1854, Boole published “An Investigation of the Laws of Thought on
which are Founded the Mathematical Theories of Logic and Probabilities.”
In an earlier pamphlet, Boole had said, “The few who think that there is
that in analysis which renders it deserving of attention for its own
sake, may find it worth while to study it under a form in which every
equation can be solved and every solution interpreted.” He was a mild,
quiet man, though nonconformist religiously and socially, and his
“Investigation” might as well have been dropped down a well for all the
immediate splash it made in the scientific world. It was considered only
academically interesting, and copies of it gathered dust for more than
fifty years.
Only in 1910 was the true importance given to Boole’s logical calculus,
or “algebra” as it came to be known. Then Alfred North Whitehead and
Bertrand Russell made the belated acknowledgment in their _Principia
Mathematica_, and Russell has said, “Pure mathematics was discovered by
Boole, in a work he called ‘The Laws of Thought.’” While his praise is
undoubtedly exaggerated, it is interesting to note the way in which
mathematics and thought are considered inseparable. In 1928, the first
text on the new algebra was published. The work of Hilbert and
Ackermann, _Mathematical Logic_, was printed first in German and then in
English.
What was the nature of this new tool for better thinking that Boole had
created? Its purpose was to make possible not merely precise, but
_exact_ analytical thought. Historically we think in words, and these
words have become fraught with semantic ditches, walls, and traps. Boole
was thinking of thought and not mathematics or science principally when
he developed his logic algebra, and it is indicative that symbolic logic
today is often taught by the philosophy department in the university.
Russell had hinted at the direction in which symbolic logic would go,
and it was not long before the scientist as well as the mathematician
and logician did begin to make use of the new tool. One pioneer was
Shannon, mentioned in the chapter on history. In 1938, Claude Shannon
was a student at M.I.T. He would later make scientific history with his
treatise on and establishment of a new field called information theory;
his early work was titled “A Symbolic Analysis of Relay and Switching
Circuits.” In it he showed that electrical and electronic circuitry
could best be described by means of Boolean logic. Shannon’s work led to
great strides in improving telephone switching circuits and it also was
of much importance to the designer of digital computers. To see why this
is so, we must now look into Boolean algebra itself. As we might guess,
it is based on a two-valued logic, a true-false system that exactly
parallels the on-off computer switches we are familiar with.
The Biblical promise “Ye shall know the truth, and the truth shall make
you free” applies to our present situation. The best way to get our feet
wet in the Boolean stream is to learn its so-called “truth tables.”
_Conjunctive Boolean Operation_
A _and_ B equal C A B C
(A · B = C) ———
0 0 0
1 0 0
0 1 0
1 1 1
_Disjunctive Boolean Operation_
A _or_ B equals C A B C
(Ā ∨ B = C) ———
0 0 0
1 0 1
0 1 1
1 1 1
In the truth tables, 1 symbolizes true, 0 is false. In the conjunctive
AND operation, we see that only if both A and B are true is C true. In
the disjunctive OR operation, if _either_ A _or_ B is true, then C is
also true. From this seemingly naïve and obvious base, the entire
Boolean system is built, and digital computers can perform not only
complex mathematical operations, but logical ones as well, including the
making of decisions on a purely logical basis.
Before going on to the few additional conditions and combinations that
complete the algebra, let’s study some analogies that will make clear
the AND/OR principles of operation. We can think of AND as two bridges
in sequence over two rivers. We can reach our destination only if both
bridges are working. However, suppose there are two parallel bridges and
only one river. We can then cross if either or both of the bridges is
working. A closer example is that of electrical switches. Current will
flow through our AND circuit if—and only if—both switches are closed.
When the switches are in parallel—an OR circuit—current will flow if
either, or both, are closed.
The truth tables resemble the bridge or switch arrangements. We can
proceed across the line of 1’s and 0’s in the first table only if both
switches are closed. The symbol 1 means that the switch is closed, so we
can cross only the bottom line. In the second table, we are told we can
proceed across the line if either switch is closed. Thus we can cross
lines 2, 3, and 4. We can use many symbols in our two-valued system.
_Symbol_
Bridge No
Bridge
Power No Power
1 0
True False
A little imagination suggests a logic computer of sorts with one switch,
a battery, and a light bulb. Suppose we turn on the switch when we drive
into our garage. A light in the hallway then indicates that the car is
available. By using two switches we can indicate that a second car is
also in the garage; or that either of them is, simply by choosing
between AND logic and OR logic. Childish as this seems, it is the
principle of even our most complex thinking processes. You will remember
that the brain is considered a digital computer, since neurons can only
be on or off. All it takes is 10 billion neuron switches!
[Illustration:
_Remington Rand UNIVAC_
AND and OR gates in series. Switches 1 _and_ 2, plus 3 _or_ 4, are
needed to light the bulb.
]
In addition to the conjunctives AND and OR, Boolean algebra makes use of
the principle of negation. This is graphically illustrated thus:
_Original_ _Negation_
A Ā
1 0
0 1
The negation device used in computer circuitry is called an inverter,
since it changes its input from a 1 to a 0, or vice versa. The
usefulness of such an element is obvious when we remember the computer
trick of subtracting by adding complements. The inverter circuit used
with a code like the excess-3 readily forms these complements.
Further sophistication of the basic Boolean forms leads to units other
than the AND and OR gates. Possible are NOT, NOR, and exclusive-OR
forms. In the latter, there is an output if one and only one input is
present. The NOR circuit is interesting in that it was made possible
with the introduction of the transistor; the vacuum tube does not permit
this configuration.
[Illustration:
_Computer Control Co._
The functions of two binary variables.
]
Present-day symbolic logic is not the pure Boolean as presented back in
1854. Boole’s OR was the exclusive, one and only one, type. Today the
logician generally assumes the either-or connotation. The logic has also
been amplified, using the commutative, associative, and distributive
laws much like those of conventional algebra. We are indebted to De
Morgan for most of this work, showing that A and B equals B and A; A and
(A and B) equals (A and B) and A; and so on. While these seem
intuitively true, the implications are nonetheless of great importance
both in pure logic and its practical use in circuitry.
A graphic representation of the metamorphosis from symbolic to actual
implementation of Boolean equations follows: The implication of
importance is that logic applies equally well whether we are making a
qualifying statement such as “A man must have strength _and_ courage to
win a barehanded fight with a lion,” or wiring a defensive missile so
that it will fire only if a target is within range _and_ is unfriendly.
In the early period of computer design the engineer was faced with the
problem of building his own switches and gates. Today many companies
offer complete “packaged” components—AND gates, OR gates, and the other
configurations. This is the modular approach to building a computer and
the advantages are obvious. The designer can treat the components simply
as “black boxes” that will respond in a prescribed way to certain input
conditions. If he wants, the engineer can go a step further and buy a
ready-built logic panel consisting of many components of different
types. All he need do to form various logic circuits is to interconnect
the proper components with plug-in leads. This brings us to the point of
learning what we can do with these clever gates and switches now that we
have them available and know something about the way they work.
We talked about the computer adder circuit earlier in this chapter. It
is made up of two half-adders, remember, with perhaps an additional OR
gate, flip-flop, etc. Each half-adder is composed of two AND gates and
an OR gate. So we have put together several basically simple parts and
the result is a piece of equipment that will perform addition at a rate
to make our heads swim.
There are other things we can do with Boolean logic besides arithmetic.
A few gates will actuate a warning signal in a factory in case either of
two ventilators is closed and the temperature goes up beyond a safe
point; or in case both vents are closed at the same time. We can build a
logic computer that will tell us when three of four assembly lines are
shut down at the same time, and also which three they are.
[Illustration:
_General Electric Co., Computer Dept._
Electronic computers are built up of many “building blocks” like this
one.
]
Logic problems abound in puzzle books, and many of us spend sleepless
nights trying to solve them in our heads. An example is the “Farnsworth
Car Pool” problem. Rita Farnsworth asks her husband if someone in his
car pool can drive for him tomorrow so that she may use the car. Joe
Farnsworth replies, “Well, when I asked Pete if he would take my turn he
said he was flying to Kansas City today, but he’d be glad to drive
tomorrow if he didn’t have to stay over and that his wife has been
staying home lately and he will drive her car if she doesn’t go to work.
Oscar said that since his own car is due back from the garage tomorrow
he can drive it even if his wife does use hers, provided the garage gets
his back to him. But if this cold of mine gets any worse I’m going to
stay home even if those fellows have to walk to work, so you can
certainly have the car if I don’t go to work.” This dialogue of Joe’s
confuses Rita and most of us are in the same state.
[Illustration:
_Autonetics Division, North American Aviation, Inc._
Testing an assembled digital computer.
]
The instruction manual for BRAINIAC, a do-it-yourself computer that
sells for a few dollars, gives a simple wiring diagram for solving
Rita’s dilemma. Electrically the problem breaks down into three OR gates
and one AND gate. All Mrs. Farnsworth has to do is set in the conditions
and watch the indicator light. If it glows, she gets the car!
These are of course simple tasks and it might pay to hire a man to
operate the vents, and ride to work on the bus when the car pool got
complicated. But even with relatively few variables, decision-making can
quickly become a task requiring a digital computer operating with
Boolean logic principles.
[Illustration:
_Science Materials Center_
Problem in logic reduced to electrical circuits.
]
The Smith-Jones-Robinson type of problem in which we must find who does
what and lives where is tougher than the car pool—tough enough that it
is sometimes used in aptitude tests. Lewis Carroll carried this form of
logical puzzler to complicated extremes involving not just three
variables but a dozen. To show how difficult such a problem is, an IBM
704 required four minutes to solve a Carroll puzzle as to whether any
magistrates indulge in snuff-taking. The computer did it the easy way,
without printing out a complete “truth table” for the problem—the method
a man would have to use to investigate all the…