Thursday 20 December 2018

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.

9's Complement-Digital Electronics

9's Complement

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

Rules:
           1.   First, check how many numbers are there in that given number.
           2.   Subtract that number from 9(number of digits=number of 9)

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.




Wednesday 19 December 2018

Number System-Number System

Number System


In Digital Electronics there are 4 Types of number system. These are given below:

Decimal Number:


                            A decimal number is a number with a decimal point in it like 17.587

The number to the left of the decimal is an ordinary number. Here the first number to the right of the decimal is the number of tenths (1/10s). The second is the number of hundredths(1/100s) and like others.
                                               
Decimal Number

Binary Number:


                            In mathematics and digital electronics, a binary number is a number expressed in the base-2 number system or binary numeral system, which uses only two symbols: 0 and 1

                                           
Binary Number

Octal Number:


                             The octal number system is based on 8 number system and uses the digits 0 to 7.

Octal Numbers can be made from binary numbers by grouping consecutive binary digits into groups of three(starting from the right).
                                               
Octal Number

Hexadecimal Number:


                              A hexadecimal number based on the number 16. As well as the familiar digits 0 to 9, there are also the letters "A", "B", "C", "D", "E", "F" in place of the decimal numbers 10 to 15.

                                         
Hexadecimal Number