Computer Science, asked by sagarsinha4876, 9 months ago

5250-321 subtraction by 10's complement step by step.

Answers

Answered by kartavyaguptasl
0

Answer:

The required difference of the given numbers is found to be 4929.

Explanation:

Steps to calculate the 10s complement subtracter:

1. Firstly, find the 10's complement of the number B (subtrahend).

2. Then add it to the number A (minuend).

3. If  the ultimate  carry over of the sum is 1, then  it's dropped and the result is positive.

4. If  there's no carry over, then 10's complement of the sum  is that the  final result and it is negative.

Subtraction of the required numbers:

Note : 10's complement of variety is 1 added to it's 9's complement number.

Step-1: 9's complement of 0321 is obtained by subtracting each digit from 9:
 9 9 9 9
-
0 3 2 1
 9 6 7 8

Step-2: Now add 1 to the 9's complement to get the 10's complement :

9678 + 1 = 9679

Step-3: Now, we'll add this 10's complement of B to A

  1 1

  5 2 5 0

+ 9 6 7 9

1 4 9 2 9

The left most little bit of the result is 1, called carry and it's ignored.

So The required answer is found to be as 4929.

#SPJ2

Answered by vishakasaxenasl
0

9Answer:

5250-321 subtraction by 10's complement is = 4929

Explanation:

Subtraction by 10's Complement

  • First, we find the 9's complement of 321 by subtracting with 9999

⇒    9999 - 0321 = 9678

  • Adding 1 to the result, so that we get 10's complement of the number.

⇒    9678+1 = 9679

  • Now we will add it to 5250.

⇒     9679 + 5250 = 14929

The MSB(Most Significant Bit) is called carry here. We will ignore the carry and rest number is our answer.

⇒    4929

Additional Knowledge:

  • 9's and 10's complements are very useful for arithmetic calculations. They make calculations faster and easier.
  • You may wonder but these complements are used in digital systems for performing arithmetic calculations.

#SPJ2

Similar questions