Imagine if you and I count two plus two, then we start with a number line or two and hoping to reach four in two places (or at least we've so far) we do not remember the answer. Simply - in fact, there is a similarity between "two and two together" to specify something.

But what if you can not imagine a pay-line? What if you have a small, brown, button-covered box full of electrons? Then do the two plus two is equal to four?


The process itself is not so simple, but once you understand how it works in the original calculative calculator, how much does it count "keep it together with two and two".

First of all, when you press the "2" key, one will press the rubber pad underneath the button, due to which an electric wire will interact with the other and create a circuit between them. Transmitting the battery transistor currently by the circuit.

Transmitter microscopy is an electrical switch in which two posts are: on and off. "On" position is represented by number 1 and number is offset by 0. (This makes the binary language of the famous people and computers and GPA Calculator.) All numbers can be displayed in a series of zero and series. Number 2 - which you insert into the key for this calculation - sends the electrons to two transistors, one of them and the other. "2" So the "10" transistor alignment. Is there

Next, press the "+" button. This rubber burns two wires in rubber exposure with which current flow, so that the first input ("2") is stored, additional work is displayed and the machine is ready for a new input. You "2." As soon as this happens, the electrical current transforms your "2" into a binary code by turning a transistor on and off.

Finally, press "=" key. The computer will now run the first "+" command entered. To agree with the first "2" match of their two transistors (10 outline), you pressed, and another number 2 corresponding to 10 other transistors in pairs, the computer now has to add these entries to the computer.

Computers (and computers) add input using electronic components known as Logic Gates, as the name suggests, electronic circuits act as an obstacle in the argument; They accept two electric currents, compare them and send new flow based on what they receive. There are several types of logic: and, or, no, and XOR (exclusive OR). Together, the Logic Flap allows the circuit to add, subtract, multiply and divide the number sent by the transistor.

And take the door: If the two signs that come to the door are 1, then they send 1. But if it gets between 1 and 0 or 0, it sends 0.

Or if 1 or both inputs are 1, while XOR output is only 1, its input is 1 and 0. A switch switches incoming signals: if its input is 1, its output is 0 and vice versa.

Transistor doors are used to collect information stored in two pairs of transistors - 10 and 10 (2 and 2). To connect these numbers also requires a complex array of logic gates, but here is a summary of the process:

1 will be sent to the second door. Output 1. 1 S is also sent to XOR. Because both inputs are 1, the XOR output gate is 0. The original 0s (from 10 and 10) are sent to both end and end gates, which produce both outputs of 0. The process "connects to the output 'connects to the output' 0 'and connects to the output of the' XOR 'connected to the XOR by connecting the regular output, instead of" ten ": 0 and 0 are sent by a door, which results in 0 (there was nothing to carry. )

The final output is 1, 0 and 0. Binary code is 100 4.