+0  
 
0
235
2
avatar+4 

what if i want to want to convert a binary digit into an hexadecimal number and i dont know that number in decimal?

anshikasingh  Aug 10, 2015

Best Answer 

 #1
avatar+91053 
+8

Hi Anshikasingh,

I don't remember seeing you before,  welcome to the forum :)

 

This is very easy

Take the base 2 number   10100111010110011111110000 

Split it into groups of 4 from the right hand side,

10  1001  1101  0110  0111  1111  0000 

 

in base 10 this would be a number between 0 and 15

In Hexidecimal it is a number between 0 and E

 

base 2   

10 1001 1101 0110 0111   1111 0000
base 10 2 1+8=9 1+4+8=13 2+4=6 1+2+4=7 15 (biggest possible) 0(smallest possible)
base 16 2 9 D 6 7 E 0

 

 $$10100111010110011111110000_2=$$  $$29D67E0_{16}$$

 

You would need to do more work to get the base 10 equivalent.

Melody  Aug 10, 2015
Sort: 

1+0 Answers

 #1
avatar+91053 
+8
Best Answer

Hi Anshikasingh,

I don't remember seeing you before,  welcome to the forum :)

 

This is very easy

Take the base 2 number   10100111010110011111110000 

Split it into groups of 4 from the right hand side,

10  1001  1101  0110  0111  1111  0000 

 

in base 10 this would be a number between 0 and 15

In Hexidecimal it is a number between 0 and E

 

base 2   

10 1001 1101 0110 0111   1111 0000
base 10 2 1+8=9 1+4+8=13 2+4=6 1+2+4=7 15 (biggest possible) 0(smallest possible)
base 16 2 9 D 6 7 E 0

 

 $$10100111010110011111110000_2=$$  $$29D67E0_{16}$$

 

You would need to do more work to get the base 10 equivalent.

Melody  Aug 10, 2015

3 Online Users

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.  See details