Find the 4-Digit Complement of 0232 and 9644

  • Thread starter Thread starter snoggerT
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating the 4-digit nine's complement of the numbers 0232 and 9644. The nine's complement is derived by subtracting each digit from 9. For 0232, the nine's complement is 9767, and for 9644, it is 0355. This method is particularly useful for performing subtraction through addition, eliminating the need for borrowing during calculations.

PREREQUISITES
  • Understanding of nine's complement notation
  • Basic arithmetic operations (addition and subtraction)
  • Familiarity with number representation systems
  • Knowledge of how to handle carries in arithmetic calculations
NEXT STEPS
  • Research the application of nine's complement in digital electronics
  • Learn about ten's complement and its differences from nine's complement
  • Explore algorithms for binary subtraction using complements
  • Study the role of complements in computer architecture and arithmetic logic units (ALUs)
USEFUL FOR

Students and professionals in computer science, particularly those studying digital systems, arithmetic operations, and number representation techniques.

snoggerT
Messages
183
Reaction score
0
Find the 4-digit complement of a) 0232 b) 9644



The Attempt at a Solution



I'm not really sure what is being asked here. When asked what form the numbers were given in and whether the problem was talking about 9's complement, his response was "the answer is 9's complement". So I don't really know what to do since they appear to be in 9's complement form already. Does anyone think they can help?
 
Physics news on Phys.org
One of the uses of 9's complement notation is to convert a decimal into its negative form so that an addition can be performed instead of subtraction, thus obviating the necessity of borrowing, etc.

The nine's complement can be obtained by subtracting from nine of each and every digit of the original number.

For example, the nine's complement of 1357 would be 8642, since 9-1=8, 9-3=6, 9-5=4, 9-7=2.

To do a subtraction, we simply add the first number to the nine's complement of the second number, PLUS 1, then ignore the 'Carry'.

For example, to do 524-256
we calculate 524+743+1=1268, drop the 1 (carry) to give 268.

See for example:
http://en.wikipedia.org/wiki/Ten's_complement
 
thanks. I just wanted to make sure on that.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
10K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K