closed by
4,031 views
1 votes
1 votes
closed with the note: Solved in comments

How to find 4's complement of $7_{10}$?

Approach 1: Convert to base-4 and find its radix complement

$7_{10} = (13)_4$

Radix complement(4's complement) = $21_4 = 9_{10}$ (result)

Approach 2: Convert to base-5 and find its diminished radix complement

$7_{10} = (12)_5$

Diminished radix complement (4's complement) = $(32)_5 = (17)_{10}$ (result)

Are these approaches correct? If yes, why different results?!

closed by

1 Answer

0 votes
0 votes

Approach 1 is wrong:- First understand what we mean by b's complement (diminshed  radix complement). Take a number X  of n digit and find (bn -1) and subtract X from it.

You are converting to base 4 and its diminshed radix complement will be 3's complement no. 4's complement.

Related questions

0 votes
0 votes
0 answers
2
sagar27 asked Sep 23, 2018
297 views
1 votes
1 votes
2 answers
3
Rohan Mundhey asked Oct 11, 2016
1,046 views
$2’s$ complements representation of the following decimal number $-(105.75)_{10}$ is:$10010110.01$$10011110.01$$10001110.10$$11001011.10$