Thursday, 20 December 2018

Filled Under:

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.