text
stringlengths
0
24k
Similarly, we obtain the number 25 by summing up the three numbers placed in the oblique direction dc: commencing by the addition 2+7, we have the first difference 9 consecutively to 7; adding 16 to the 9 we have the square 25.
We see then that the three numbers 2, 5, 9 being given, the whole series of successive square numbers, and that of their first differences likewise may be obtained by means of simple additions.
Now, to conceive how these operations may be reproduced by a machine, suppose the latter to have three dials, designated as A, B, C, on each of which are traced, say a thousand divisions, by way of example, over which a needle shall pass.
The two dials, C, B, shall have in addition a registering hammer, which is to give a number of strokes equal to that of the divisions indicated by the needle.
For each stroke of the registering hammer of the dial C, the needle B shall advance one division; similarly, the needle A shall advance one division for every stroke of the registering hammer of the dial B. Such is the general disposition of the mechanism.
This being understood, let us, at the beginning of the series of operations we wish to execute, place the needle C on the division 2, the needle B on the division 5, and the needle A on the division 9.
Let us allow the hammer of the dial C to strike; it will strike twice, and at the same time the needle B will pass over two divisions.
The latter will then indicate the number 7, which succeeds the number 5 in the column of first differences.
If we now permit the hammer of the dial B to strike in its turn, it will strike seven times, during which the needle A will advance seven divisions; these added to the nine already marked by it will give the number 16, which is the square number consecutive to 9.
If we now recommence these operations, beginning with the needle C, which is always to be left on the division 2, we shall perceive that by repeating them indefinitely, we may successively reproduce the series of whole square numbers by means of a very simple mechanism.
The theorem on which is based the construction of the machine we have just been describing, is a particular case of the following more general theorem: that if in any polynomial whatever, the highest power of whose variable is m, this same variable be increased by equal degrees; the corresponding values of the polynomial then calculated, and the first, second, third, &c. differences of these be taken (as for the preceding series of squares); the mth differences will all be equal to each other.
So that, in order to reproduce the series of values of the polynomial by means of a machine analogous to the one above described, it is sufficient that there be (m+1) dials, having the mutual relations we have indicated.
As the differences may be either positive or negative, the machine will have a contrivance for either advancing or retrograding each needle, according as the number to be algebraically added may have the sign plus or minus.
If from a polynomial we pass to a series having an infinite number of terms, arranged according to the ascending powers of the variable, it would at first appear, that in order to apply the machine to the calculation of the function represented by such a series, the mechanism must include an infinite number of dials, which would in fact render the thing impossible.
But in many cases the difficulty will disappear, if we observe that for a great number of functions the series which represent them may be rendered convergent; so that, according to the degree of approximation desired, we may limit ourselves to the calculation of a certain number of terms of the series, neglecting the rest.
By this method the question is reduced to the primitive case of a finite polynomial.
It is thus that we can calculate the succession of the logarithms of numbers.
But since, in this particular instance, the terms which had been originally neglected receive increments in a ratio so continually increasing for equal increments of the variable, that the degree of approximation required would ultimately be affected, it is necessary, at certain intervals, to calculate the value of the function by different methods, and then respectively to use the results thus obtained, as data whence to deduce, by means of the machine, the other intermediate values.
We see that the machine here performs the office of the third section of calculators mentioned in describing the tables computed by order of the French government, and that the end originally proposed is thus fulfilled by it.
Such is the nature of the first machine which Mr. Babbage conceived.
We see that its use is confined to cases where the numbers required are such as can be obtained by means of simple additions or subtractions; that the machine is, so to speak, merely the expression of one particular theorem of analysis; and that, in short, its operations cannot be extended so as to embrace the solution of an infinity of other questions included within the domain of mathematical analysis.
It was while contemplating the vast field which yet remained to be traversed, that Mr. Babbage, renouncing his original essays, conceived the plan of another system of mechanism whose operations should themselves possess all the generality of algebraical notation, and which, on this account, he denominates the Analytical Engine.
Having now explained the state of the question, it is time for me to develop the principle on which is based the construction of this latter machine.
When analysis is employed for the solution of any problem, there are usually two classes of operations to execute: first, the numerical calculation of the various coefficients; and secondly, their distribution in relation to the quantities affected by them.
If, for example, we have to obtain the product of two binomials (a+bx) (m+nx), the result will be represented by am + (an + bm) x
+ bnx2, in which expression we must first calculate am, an, bm, bn; then take the sum of an + bm; and lastly, respectively distribute the coefficients thus obtained amongst the powers of the variable.
In order to reproduce these operations by means of a machine, the latter must therefore possess two distinct sets of powers: first, that of executing numerical calculations; secondly, that of rightly distributing the values so obtained.
But if human intervention were necessary for directing each of these partial operations, nothing would be gained under the heads of correctness and economy of time; the machine must therefore have the additional requisite of executing by itself all the successive operations required for the solution of a problem proposed to it, when once the primitive numerical data for this same problem have been introduced.
Therefore, since, from the moment that the nature of the calculation to be executed or of the problem to be resolved have been indicated to it, the machine is, by its own intrinsic power, of itself to go through all the intermediate operations which lead to the proposed result, it must exclude all methods of trial and guess-work, and can only admit the direct processes of calculation.
It is necessarily thus; for the machine is not a thinking being, but simply an automaton which acts according to the laws imposed upon it.
This being fundamental, one of the earliest researches its author had to undertake, was that of finding means for effecting the division of one number by another without using the method of guessing indicated by the usual rules of arithmetic.
The difficulties of effecting this combination were far from being among the least; but upon it depended the success of every other.
Under the impossibility of my here explaining the process through which this end is attained, we must limit ourselves to admitting that the first four operations of arithmetic, that is addition, subtraction, multiplication and division, can be performed in a direct manner through the intervention of the machine.
This granted, the machine is thence capable of performing every species of numerical calculation, for all such calculations ultimately resolve themselves into the four operations we have just named.
To conceive how the machine can now go through its functions according to the laws laid down, we will begin by giving an idea of the manner in which it materially represents numbers.
Let us conceive a pile or vertical column consisting of an indefinite number of circular discs, all pierced through their centres by a common axis, around which each of them can take an independent rotatory movement.
If round the edge of each of these discs are written the ten figures which constitute our numerical alphabet, we may then, by arranging a series of these figures in the same vertical line, express in this manner any number whatever.
It is sufficient for this purpose that the first disc represent units, the second tens, the third hundreds, and so on.
When two numbers have been thus written on two distinct columns, we may propose to combine them arithmetically with each other, and to obtain the result on a third column.
In general, if we have a series of columns consisting of discs, which columns we will designate as V0, V1, V2, V3, V4, &c., we may require, for instance, to divide the number written on the column V1 by that on the column V4, and to obtain the result on the column V7.
To effect this operation, we must impart to the machine two distinct arrangements; through the first it is prepared for executing a division, and through the second the columns it is to operate on are indicated to it, and also the column on which the result is to be represented.
If this division is to be followed, for example, by the addition of two numbers taken on other columns, the two original arrangements of the machine must be simultaneously altered.
If, on the contrary, a series of operations of the same nature is to be gone through, then the first of the original arrangements will remain, and the second alone must be altered Therefore, the arrangements that may be communicated to the various parts of the machine may be distinguished into two principal classes:
First, that relative to the Operations.
Secondly, that relative to the Variables.
By this latter we mean that which indicates the columns to be operated on.
As for the operations themselves, they are executed by a special apparatus, which is designated by the name of mill, and which itself contains a certain number of columns, similar to those of the Variables.
When two numbers are to be combined together, the machine commences by effacing them from the columns where they are written, that is, it places zero on every disc of the two vertical lines on which the numbers were represented; and it transfers the numbers to the mill.
There, the apparatus having been disposed suitably for the required operation, this latter is effected, and, when completed, the result itself is transferred to the column of Variables which shall have been indicated.
Thus the mill is that portion of the machine which works, and the columns of Variables constitute that where the results are represented and arranged.
After the preceding explanations, we may perceive that all fractional and irrational results will be represented in decimal fractions.
Supposing each column to have forty discs, this extension will be sufficient for all degrees of approximation generally required.
It will now be inquired how the machine can of itself, and without having recourse to the hand of man, assume the successive dispositions suited to the operations.
The solution of this problem has been taken from Jacquard's apparatus, used for the manufacture of brocaded stuffs, in the following manner:—
Two species of threads are usually distinguished in woven stuffs; one is the warp or longitudinal thread, the other the woof or transverse thread, which is conveyed by the instrument called the shuttle, and which crosses the longitudinal thread or warp.
When a brocaded stuff is required, it is necessary in turn to prevent certain threads from crossing the woof, and this according to a succession which is determined by the nature of the design that is to be reproduced.
Formerly this process was lengthy and difficult, and it was requisite that the workman, by attending to the design which he was to copy, should himself regulate the movements the threads were to take.
Thence arose the high price of this description of stuffs, especially if threads of various colours entered into the fabric.
To simplify this manufacture, Jacquard devised the plan of connecting each group of threads that were to act together, with a distinct lever belonging exclusively to that group.
All these levers terminate in rods, which are united together in one bundle, having usually the form of a parallelopiped with a rectangular base.
The rods are cylindrical, and are separated from each other by small intervals.
The process of raising the threads is thus resolved into that of moving these various lever-arms in the requisite order.
To effect this, a rectangular sheet of pasteboard is taken, somewhat larger in size than a section of the bundle of lever-arms.
If this sheet be applied to the base of the bundle, and an advancing motion be then communicated to the pasteboard, this latter will move with it all the rods of the bundle, and consequently the threads that are connected with each of them.
But if the pasteboard, instead of being plain, were pierced with holes corresponding to the extremities of the levers which meet it, then, since each of the levers would pass through the pasteboard during the motion of the latter, they would all remain in their places.
We thus see that it is easy so to determine the position of the holes in the pasteboard, that, at any given moment, there shall be a certain number of levers, and consequently of parcels of threads, raised, while the rest remain where they were.
Supposing this process is successively repeated according to a law indicated by the pattern to be executed, we perceive that this pattern may be reproduced on the stuff.
For this purpose we need merely compose a series of cards according to the law required, and arrange them in suitable order one after the other; then, by causing them to pass over a polygonal beam which is so connected as to turn a new face for every stroke of the shuttle, which face shall then be impelled parallelly to itself against the bundle of lever-arms, the operation of raising the threads will be regularly performed.
Thus we see that brocaded tissues may be manufactured with a precision and rapidity formerly difficult to obtain.
Arrangements analogous to those just described have been introduced into the Analytical Engine.
It contains two principal species of cards: first, Operation cards, by means of which the parts of the machine are so disposed as to execute any determinate series of operations, such as additions, subtractions, multiplications, and divisions; secondly, cards of the Variables, which indicate to the machine the columns on which the results are to be represented.
The cards, when put in motion, successively arrange the various portions of the machine according to the nature of the processes that are to be effected, and the machine at the same time executes these processes by means of the various pieces of mechanism of which it is constituted.
In order more perfectly to conceive the thing, let us select as an example the resolution of two equations of the first degree with two unknown quantities.
Let the following be the two equations, in which x and y are the unknown quantities:—
\left\{\begin{array}{l} mx+ny=d\\m'x+n'y=d'.\end{array}\right
We deduce x=\frac{dn'-d'n}{n'm-nm'}, and for y an analogous expression.
Let us continue to represent by V0, V1, V2, &c.
the different columns which contain the numbers, and let us suppose that the first eight columns have been chosen for expressing on them the numbers represented by m, n, d, m', n', d', n and n', which implies that V0=m, V1=n, V2=d, V3=m', V4=n', V5=d', V6=n, V7=n'.
The series of operations commanded by the cards, and the results obtained, may be represented in the following table:—
Since the cards do nothing but indicate in what manner and on what columns the machine shall act, it is clear that we must still, in every particular case, introduce the numerical data for the calculation.
Thus, in the example we have selected, we must previously inscribe the numerical values of m, n, d, m', n', d', in the order and on the columns indicated, after which the machine when put in action will give the value of the unknown quantity x for this particular case.
To obtain the value of y, another series of operations analogous to the preceding must be performed.
But we see that they will be only four in number, since the denominator of the expression for y, excepting the sign, is the same as that for x, and equal to n'm-nm'.
In the preceding table it will be remarked that the column for operations indicates four successive multiplications, two subtractions, and one division.
Therefore, if desired, we need only use three operation-cards; to manage which, it is sufficient to introduce into the machine an apparatus which shall, after the first multiplication, for instance, retain the card which relates to this operation, and not allow it to advance so as to be replaced by another one, until after this same operation shall have been four times repeated.
In the preceding example we have seen, that to find the value of x we must begin by writing the coefficients m, n, d, m', n', d', upon eight columns, thus repeating n and n' twice.
According to the same method, if it were required to calculate y likewise, these coefficients must be written on twelve different columns.
But it is possible to simplify this process, and thus to diminish the chances of errors, which chances are greater, the larger the number of the quantities that have to be inscribed previous to setting the machine in action.
To understand this simplification, we must remember that every number written on a column must, in order to be arithmetically combined with another number, be effaced from the column on which it is, and transferred to the mill.
Thus, in the example we have discussed, we will take the two coefficients m and n', which are each of them to enter into two different products, that is m into mn' and md', n' into mn' and n'd.
These coefficients will be inscribed on the columns V0 and V4.
If we commence the series of operations by the product of m into n', these numbers will be effaced from the columns V0 and V4, that they may be transferred to the mill, which will multiply them into each other, and will then command the machine to represent the result, say on the column V6.
But as these numbers are each to be used again in another operation, they must again be inscribed somewhere; therefore, while the mill is working out their product, the machine will inscribe them anew on any two columns that may be indicated to it through the cards; and as, in the actual case, there is no reason why they should not resume their former places, we will suppose them again inscribed on V0 and V4, whence in short they would not finally disappear, to be reproduced no more, until they should have gone through all the combinations in which they might have to be used.
We see, then, that the whole assemblage of operations requisite for resolving the two above equations of the first degree may be definitely represented in the following table:—
Clicking on the table displays a larger image of it.
Your browser's “Back” button will return you to this document.
In order to diminish to the utmost the chances of error in inscribing the numerical data of the problem, they are successively placed on one of the columns of the mill; then, by means of cards arranged for this purpose, these same numbers are caused to arrange themselves on the requisite columns, without the operator having to give his attention to it; so that his undivided mind may be applied to the simple inscription of these same numbers.
According to what has now been explained, we see that the collection of columns of Variables may be regarded as a store of numbers, accumulated there by the mill, and which, obeying the orders transmitted to the machine by means of the cards, pass alternately from the mill to the store and from the store to the mill, that they may undergo the transformations demanded by the nature of the calculation to be performed.
Hitherto no mention has been made of the signs in the results, and the machine would be far from perfect were it incapable of expressing and combining amongst each other positive and negative quantities.
To accomplish this end, there is, above every column, both of the mill and of the store, a disc, similar to the discs of which the columns themselves consist.