Thursday 20 December 2018

Binary Addition In Digital Electronics-Digital Electronics

Binary Addition

Rules:
          1.   0+0=0
          2.   0+1=1
          3.   1+0=1
          4.   1+1=0,1in carry

For Example: 
          
1.                 Addition of  0101+1010

Therefore it will be: 0101+1010=1111

2.                Addition of 0101+0110

Therefore it will be: 0101+0110=1011

3.                Addition of     00111001+00101001

Therefore it will be: 00111001+00101001=01100010

4.               Addition of       0011+0011

Therefore it will be: 0011+0011=0110

Thus we find the addition of two binary number.
                             
         
Note: Always remember that carry portion which is 1+1=0, carry 1.
This is so much important while adding two binary numbers









2's Complement-Digital Eletronics

2's Complement

In Digital Electronics we generally find 2's complement of any given number. To find 2's complement in digital electronics is very simple.
Here we are going to understand, how to find 2's complement. So, let's get started.

Rules: 
          1.  First, find 1's complement of that given number.
          2.  Add '+1'

To see how to find 1's complement click here

For an example:
                          Let's take 0010
We have to find 2's complement of this number.
So, first, we will find 1's complement.
Which will be:   1101
Now we will add '+1' with that 1's complement.
Therefore the answer will be:  1101+1=1110
This is the 2's complement of that number.
Thus we can find 2's complement of any given number.

1's Complement-Digital Electronics

1's Complement

In Digital Electronics to find 1's complement is very very easy. It is nothing but changing the binary number. If it is 0 then will write it as 1 and if it is 1 then we will write it as 0.

For An Example:
                             The given number is 10101010

So, therefore, the 1's complement of that number will be 01010101.
As you guys can see that it is nothing but just changing the number between 0 and 1. It is as simple as that.

10's Complement-Digital Electronics

10's Complement

To find 10's complement for a given number is very easy to do.Here we are going to discuss the rules to find 10's complement and then we will talk about an example.So let's get started.

Rules:
           1.   First, find 9's complement.
           2.   Add ' +1' with that 9's complement.

Formula:
                    10n -1
where n=number of digits

 For Example:
                         452 is a given number.And we have to find the 9's complement of this.

So, as mentioned above, we will count the number of digits. And here we see that there are 3 digits.
Now we will use the mentioned formula.

So the result will be:  10n

where n=3
therefore the answer will be 999

Now we have to subtract 452 from 999.
Therefore 999-452=547

Thus we find 9's complement of a given number.
After finding this 9's complement we have to add ' +1' with that result.
Hence the answer will be: 547+1=548
Thus we find 10's complement of a given number.