3. Find Subtraction of 1789 and 1502 using 10's complementSolution:10's complement subtraction steps :
1. At first, find 10's complement of the B(subtrahend).
2. Then add it to the A(minuend).
3. If the final carry over of the sum is 1, then it is dropped and the result is positive.
4. If there is no carry over, then 10's complement of the sum is the final result and it is negative.
Here A = 1789, B = 1502.
Find A - B = ? using 10's complement
First find 10's complement of B = 1502
Note : 10's complement of a number is 1 added to it's 9's complement number.
Step-1: 9's complement of 1502 is obtained by subtracting each digit from 9
Step-2: Now add 1 :
8497 + 1 = 8498
Step-3: Now Add this 8498 to 1789
Step by step solution of 1789 + 8498 = 10287
Write the numbers, so that each digit lines up vertically
Step-1 :
`=9+8`
`=17`
Write the 7 in the sum place and carry the 1 to the next carry place
Step-2 :
`=1+8+9`
`=18`
Write the 8 in the sum place and carry the 1 to the next carry place
Step-3 :
`=1+7+4`
`=12`
Write the 2 in the sum place and carry the 1 to the next carry place
Step-4 :
`=1+1+8`
`=10`
Write the 10 in the sum place
The left most bit of the result (10287) is 1, called carry and it is ignored.
So answer is 0287
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then